diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-09-02 13:40:16 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-09-02 13:40:16 +0000 |
| commit | d7c12b3122a2550209228675fe765e05d29c70a9 (patch) | |
| tree | d03ae44347a6c045a1664b33d23ed029c44e4d5c | |
| parent | 8d4b62c9bd1053a1aa76862c760618a986306a56 (diff) | |
| download | puzzles-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |