shithub: puzzles

Download patch

ref: d7c12b3122a2550209228675fe765e05d29c70a9
parent: 8d4b62c9bd1053a1aa76862c760618a986306a56
author: Simon Tatham <anakin@pobox.com>
date: Fri Sep 2 09:40:16 EDT 2005

Someone points out that the Solo text formatter would be a lot
better if it marked empty cells with something other than a space.
So here's a three-bit change to turn it into a dot :-)

[originally from svn r6261]

--- a/solo.c
+++ b/solo.c
@@ -2442,7 +2442,7 @@
         for (x = 0; x < cr; x++) {
             int ch = grid[y * cr + x];
             if (ch == 0)
-                ch = ' ';
+                ch = '.';
             else if (ch <= 9)
                 ch = '0' + ch;
             else