mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
GNUstep compatibility: spell null selectors "NULL", not "nil".
[originally from svn r9499]
This commit is contained in:
6
osx.m
6
osx.m
@ -712,7 +712,7 @@ struct frontend {
|
|||||||
[alert addButtonWithTitle:@"Bah"];
|
[alert addButtonWithTitle:@"Bah"];
|
||||||
[alert setInformativeText:[NSString stringWithUTF8String:message]];
|
[alert setInformativeText:[NSString stringWithUTF8String:message]];
|
||||||
[alert beginSheetModalForWindow:self modalDelegate:nil
|
[alert beginSheetModalForWindow:self modalDelegate:nil
|
||||||
didEndSelector:nil contextInfo:nil];
|
didEndSelector:NULL contextInfo:nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)newGame:(id)sender
|
- (void)newGame:(id)sender
|
||||||
@ -1179,7 +1179,7 @@ struct frontend {
|
|||||||
[[sheet contentView] addSubview:cfg_controls[k]];
|
[[sheet contentView] addSubview:cfg_controls[k]];
|
||||||
|
|
||||||
[NSApp beginSheet:sheet modalForWindow:self
|
[NSApp beginSheet:sheet modalForWindow:self
|
||||||
modalDelegate:nil didEndSelector:nil contextInfo:nil];
|
modalDelegate:nil didEndSelector:NULL contextInfo:nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)specificGame:(id)sender
|
- (void)specificGame:(id)sender
|
||||||
@ -1234,7 +1234,7 @@ struct frontend {
|
|||||||
[alert addButtonWithTitle:@"Bah"];
|
[alert addButtonWithTitle:@"Bah"];
|
||||||
[alert setInformativeText:[NSString stringWithUTF8String:error]];
|
[alert setInformativeText:[NSString stringWithUTF8String:error]];
|
||||||
[alert beginSheetModalForWindow:self modalDelegate:nil
|
[alert beginSheetModalForWindow:self modalDelegate:nil
|
||||||
didEndSelector:nil contextInfo:nil];
|
didEndSelector:NULL contextInfo:nil];
|
||||||
} else {
|
} else {
|
||||||
midend_new_game(me);
|
midend_new_game(me);
|
||||||
[self resizeForNewGameParams];
|
[self resizeForNewGameParams];
|
||||||
|
Reference in New Issue
Block a user