chiark / gitweb /
GNUstep compatibility: spell null selectors "NULL", not "nil".
authorSimon Tatham <anakin@pobox.com>
Sun, 6 May 2012 14:01:32 +0000 (14:01 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 6 May 2012 14:01:32 +0000 (14:01 +0000)
[originally from svn r9499]

osx.m

diff --git a/osx.m b/osx.m
index d9b1cf52946f9f709b79c61cd9c39db9a7d280bd..afbf6b2c9055cfd75a699fa871344e0575456d88 100644 (file)
--- a/osx.m
+++ b/osx.m
@@ -712,7 +712,7 @@ struct frontend {
     [alert addButtonWithTitle:@"Bah"];
     [alert setInformativeText:[NSString stringWithUTF8String:message]];
     [alert beginSheetModalForWindow:self modalDelegate:nil
-     didEndSelector:nil contextInfo:nil];
+     didEndSelector:NULL contextInfo:nil];
 }
 
 - (void)newGame:(id)sender
@@ -1179,7 +1179,7 @@ struct frontend {
        [[sheet contentView] addSubview:cfg_controls[k]];
 
     [NSApp beginSheet:sheet modalForWindow:self
-     modalDelegate:nil didEndSelector:nil contextInfo:nil];
+     modalDelegate:nil didEndSelector:NULL contextInfo:nil];
 }
 
 - (void)specificGame:(id)sender
@@ -1234,7 +1234,7 @@ struct frontend {
            [alert addButtonWithTitle:@"Bah"];
            [alert setInformativeText:[NSString stringWithUTF8String:error]];
            [alert beginSheetModalForWindow:self modalDelegate:nil
-            didEndSelector:nil contextInfo:nil];
+            didEndSelector:NULL contextInfo:nil];
        } else {
            midend_new_game(me);
            [self resizeForNewGameParams];