chiark / gitweb /
Oops, forgot to initialise changed_ascii on all paths in r9657.
authorSimon Tatham <anakin@pobox.com>
Sun, 9 Sep 2012 21:55:14 +0000 (21:55 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 9 Sep 2012 21:55:14 +0000 (21:55 +0000)
[originally from svn r9658]
[r9657 == 3b250baa02a7332510685948bf17576c397b8ceb]

undead.c

index dab3f504e6abca4a303916295d3d72ee9d46e654..9d2bfdef4c6d2ed430f510c9ab9fbd7f674eab89 100644 (file)
--- a/undead.c
+++ b/undead.c
@@ -2423,7 +2423,8 @@ static void game_redraw(drawing *dr, game_drawstate *ds, game_state *oldstate,
     if (ds->ascii != ui->ascii) {
         ds->ascii = ui->ascii;
         changed_ascii = TRUE;
-    }
+    } else
+        changed_ascii = FALSE;
 
     /* Draw monster count hints */