shithub: puzzles

Download patch

ref: 6824dcde03d894886fea4c1e16e0020a9c176225
parent: 23ab000b7b038b6810e48a71a94b8287c20a6047
author: Simon Tatham <anakin@pobox.com>
date: Sat Oct 22 12:34:28 EDT 2005

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]

--- a/osx.m
+++ b/osx.m
@@ -540,7 +540,7 @@
     /*
      * 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];