[vlc-devel] commit: update: Fix it. (Pierre d'Herbemont )

git version control git at videolan.org
Sun Aug 3 21:01:03 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sun Aug  3 21:02:22 2008 +0200| [38f0f82f4b88eb45ba8a7b16e1828978563a5466] | committer: Pierre d'Herbemont 

update: Fix it.

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

 modules/gui/macosx/update.m |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/update.m b/modules/gui/macosx/update.m
index 449546b..ef195d9 100644
--- a/modules/gui/macosx/update.m
+++ b/modules/gui/macosx/update.m
@@ -167,9 +167,9 @@ static VLCUpdate *_o_sharedInstance = nil;
     [self setShouldCheckUpdate: [sender state]];
 }
 
-- (void)setUpToDate:(BOOL)uptodate
+- (void)setUpToDate:(NSNumber *)uptodate
 {
-    if( uptodate )
+    if( [uptodate boolValue] )
     {
         [o_fld_releaseNote setString: @""];
         [o_fld_currentVersion setStringValue: @""];




More information about the vlc-devel mailing list