[vlc-devel] commit: Fix the update in wxwidgets. ( Rémi Duraffort )

git version control git at videolan.org
Wed Apr 16 00:02:15 CEST 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Apr 16 00:01:42 2008 +0200| [67327411ffe3fef0267384f0ffd7a7fed31d12d6]

Fix the update in wxwidgets.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=67327411ffe3fef0267384f0ffd7a7fed31d12d6
---

 modules/gui/wxwidgets/dialogs/updatevlc.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/wxwidgets/dialogs/updatevlc.cpp b/modules/gui/wxwidgets/dialogs/updatevlc.cpp
index a6b793d..b470d10 100644
--- a/modules/gui/wxwidgets/dialogs/updatevlc.cpp
+++ b/modules/gui/wxwidgets/dialogs/updatevlc.cpp
@@ -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 ) ) );




More information about the vlc-devel mailing list