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]
This commit is contained in:
Simon Tatham
2005-09-02 13:40:16 +00:00
parent 8d4b62c9bd
commit d7c12b3122

2
solo.c
View File

@ -2442,7 +2442,7 @@ static char *grid_text_format(int c, int r, digit *grid)
for (x = 0; x < cr; x++) { for (x = 0; x < cr; x++) {
int ch = grid[y * cr + x]; int ch = grid[y * cr + x];
if (ch == 0) if (ch == 0)
ch = ' '; ch = '.';
else if (ch <= 9) else if (ch <= 9)
ch = '0' + ch; ch = '0' + ch;
else else