OS X frontend was directly calling the backend's wants_statusbar()
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 22 Oct 2005 16:34:28 +0000 (16:34 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 22 Oct 2005 16:34:28 +0000 (16:34 +0000)
function, whereas it ought to have been calling the midend's one.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@6413 cda61777-01e9-0310-a592-d414129be87e

osx.m

diff --git a/osx.m b/osx.m
index e19db27..bbe47f3 100644 (file)
--- 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];