aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-09-02 13:40:16 +0000
committerSimon Tatham <anakin@pobox.com>2005-09-02 13:40:16 +0000
commitd7c12b3122a2550209228675fe765e05d29c70a9 (patch)
treed03ae44347a6c045a1664b33d23ed029c44e4d5c
parent8d4b62c9bd1053a1aa76862c760618a986306a56 (diff)
downloadpuzzles-d7c12b3122a2550209228675fe765e05d29c70a9.zip
puzzles-d7c12b3122a2550209228675fe765e05d29c70a9.tar.gz
puzzles-d7c12b3122a2550209228675fe765e05d29c70a9.tar.bz2
puzzles-d7c12b3122a2550209228675fe765e05d29c70a9.tar.xz
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]
-rw-r--r--solo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/solo.c b/solo.c
index 5b92bca..efd795b 100644
--- a/solo.c
+++ b/solo.c
@@ -2442,7 +2442,7 @@ static char *grid_text_format(int c, int r, digit *grid)
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