chiark / gitweb /
OS X frontend was directly calling the backend's wants_statusbar()
authorSimon Tatham <anakin@pobox.com>
Sat, 22 Oct 2005 16:34:28 +0000 (16:34 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 22 Oct 2005 16:34:28 +0000 (16:34 +0000)
function, whereas it ought to have been calling the midend's one.

[originally from svn r6413]

osx.m

diff --git a/osx.m b/osx.m
index e19db27da4a4d2f79fa22f20d2f830c492fd7802..bbe47f3ba76db8372076a4a9890886112af943d8 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];