ref: 41dc4a21957d0f4208a6c726543487814f21f33b
parent: 22ebad30e4c29e1063c0076a67973b0110c11e53
author: Simon Tatham <anakin@pobox.com>
date: Sun May 6 10:01:32 EDT 2012
GNUstep compatibility: spell null selectors "NULL", not "nil". [originally from svn r9499]
--- a/osx.m
+++ b/osx.m
@@ -712,7 +712,7 @@
[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 @@
[[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 @@
[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];