]> git.sesse.net Git - vlc/commitdiff
update: Fix it.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 3 Aug 2008 19:02:22 +0000 (21:02 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 3 Aug 2008 19:03:40 +0000 (21:03 +0200)
modules/gui/macosx/update.m

index 449546b6c69e25d743ce9eddacb24e7b4ca7509b..ef195d92e11ee3e64a2b6eb04170304b05b092f2 100644 (file)
@@ -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: @""];