mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Over-enthusiastic assertion introduced in the printing revamp was
causing Mines to crash one second after starting a game. Oops. [originally from svn r6214]
This commit is contained in:
@ -177,8 +177,6 @@ static void win_status_bar(void *handle, char *text)
|
|||||||
frontend *fe = (frontend *)handle;
|
frontend *fe = (frontend *)handle;
|
||||||
char *rewritten;
|
char *rewritten;
|
||||||
|
|
||||||
assert(fe->drawstatus == DRAWING);
|
|
||||||
|
|
||||||
rewritten = midend_rewrite_statusbar(fe->me, text);
|
rewritten = midend_rewrite_statusbar(fe->me, text);
|
||||||
if (!fe->laststatus || strcmp(rewritten, fe->laststatus)) {
|
if (!fe->laststatus || strcmp(rewritten, fe->laststatus)) {
|
||||||
SetWindowText(fe->statusbar, rewritten);
|
SetWindowText(fe->statusbar, rewritten);
|
||||||
|
Reference in New Issue
Block a user