shithub: puzzles

Download patch

ref: 9955c5ffc38a2cba73bcd49ea8ed97bdd2739901
parent: aa08d80a5f9b9fe0601a6976063a4746dc56e237
author: Simon Tatham <[email protected]>
date: Fri Aug 25 03:10:59 EDT 2006

Jesse W points out that I forgot to update the OS X front end in
r6420, so both drawing.c _and_ the front end were prepending the
time to the front of the Mines status bar, leading to a double
timestamp.

[originally from svn r6796]
[r6420 == 240b6cab8ce8729b7270a0411ab39038814058f1]

--- a/osx.m
+++ b/osx.m
@@ -1219,9 +1219,7 @@
 
 - (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