]> git.sesse.net Git - vlc/commitdiff
Fix the update in wxwidgets.
authorRémi Duraffort <ivoire@videolan.org>
Tue, 15 Apr 2008 22:01:42 +0000 (00:01 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Tue, 15 Apr 2008 22:01:42 +0000 (00:01 +0200)
modules/gui/wxwidgets/dialogs/updatevlc.cpp

index a6b793d55ed5fedb1f7f95e9a0fbb2a33862b822..b470d10cb3f8d30ad74d65a35f43157448b2b75f 100644 (file)
@@ -112,7 +112,7 @@ void UpdateVLC::OnCheckForUpdate( wxCommandEvent& event )
                       + wxU(psz_tmp),
                       i_image );*/
 
-    if( update_CompareReleaseToCurrent( p_update ) == UpdateReleaseStatusNewer )
+    if( update_NeedUpgrade( p_update ) )
         main_sizer->Add( new wxStaticText( this, -1, wxU( p_update->release.psz_desc )
                          + wxU( "\nYou can download the latest version of VLC at the adress :\n" )
                          + wxU( p_update->release.psz_url ) ) );