From: RĂ©mi Duraffort Date: Tue, 15 Apr 2008 22:01:42 +0000 (+0200) Subject: Fix the update in wxwidgets. X-Git-Tag: 0.9.0-test0~1466 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=67327411ffe3fef0267384f0ffd7a7fed31d12d6;p=vlc Fix the update in wxwidgets. --- diff --git a/modules/gui/wxwidgets/dialogs/updatevlc.cpp b/modules/gui/wxwidgets/dialogs/updatevlc.cpp index a6b793d55e..b470d10cb3 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 ) ) );