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:
Simon Tatham
2005-10-22 16:34:28 +00:00
parent 23ab000b7b
commit 6824dcde03

2
osx.m
View File

@ -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];