mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
OS X frontend was directly calling the backend's wants_statusbar()
function, whereas it ought to have been calling the midend's one. [originally from svn r6413]
This commit is contained in:
2
osx.m
2
osx.m
@ -540,7 +540,7 @@ struct frontend {
|
|||||||
/*
|
/*
|
||||||
* Create the status bar, which will just be an NSTextField.
|
* Create the status bar, which will just be an NSTextField.
|
||||||
*/
|
*/
|
||||||
if (ourgame->wants_statusbar()) {
|
if (midend_wants_statusbar(me)) {
|
||||||
status = [[NSTextField alloc] initWithFrame:NSMakeRect(0,0,100,50)];
|
status = [[NSTextField alloc] initWithFrame:NSMakeRect(0,0,100,50)];
|
||||||
[status setEditable:NO];
|
[status setEditable:NO];
|
||||||
[status setSelectable:NO];
|
[status setSelectable:NO];
|
||||||
|
Reference in New Issue
Block a user