In the Windows frontend, stop tab navigation from activating buttons.
[sgt/puzzles] / osx.m
diff --git a/osx.m b/osx.m
index e19db27..ccfdbaa 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];
@@ -1219,9 +1219,7 @@ struct frontend {
 
 - (void)setStatusLine:(char *)text
 {
-    char *rewritten = midend_rewrite_statusbar(me, text);
-    [[status cell] setTitle:[NSString stringWithCString:rewritten]];
-    sfree(rewritten);
+    [[status cell] setTitle:[NSString stringWithCString:text]];
 }
 
 @end