shithub: puzzles

Download patch

ref: 0880ef058328c1cad8b5dac8b0e19551bb9bccd1
parent: 3b250baa02a7332510685948bf17576c397b8ceb
author: Simon Tatham <anakin@pobox.com>
date: Sun Sep 9 17:55:14 EDT 2012

Oops, forgot to initialise changed_ascii on all paths in r9657.

[originally from svn r9658]
[r9657 == 3b250baa02a7332510685948bf17576c397b8ceb]

--- a/undead.c
+++ b/undead.c
@@ -2423,7 +2423,8 @@
     if (ds->ascii != ui->ascii) {
         ds->ascii = ui->ascii;
         changed_ascii = TRUE;
-    }
+    } else
+        changed_ascii = FALSE;
 
     /* Draw monster count hints */