From: Simon Tatham Date: Sat, 22 Oct 2005 16:34:28 +0000 (+0000) Subject: OS X frontend was directly calling the backend's wants_statusbar() X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=6824dcde03d894886fea4c1e16e0020a9c176225;p=sgt-puzzles.git 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] --- diff --git a/osx.m b/osx.m index e19db27..bbe47f3 100644 --- a/osx.m +++ b/osx.m @@ -540,7 +540,7 @@ struct frontend { /* * 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 setEditable:NO]; [status setSelectable:NO];