GNUstep compatibility: spell null selectors "NULL", not "nil".
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 6 May 2012 14:01:32 +0000 (14:01 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 6 May 2012 14:01:32 +0000 (14:01 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9499 cda61777-01e9-0310-a592-d414129be87e

osx.m

diff --git a/osx.m b/osx.m
index d9b1cf5..afbf6b2 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];