From 59b4cf3c2b6c9c329625bd656a5eda2fa72ed162 Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 2 Sep 2005 13:40:16 +0000 Subject: [PATCH] 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 :-) git-svn-id: svn://svn.tartarus.org/sgt/puzzles@6261 cda61777-01e9-0310-a592-d414129be87e --- solo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0