aboutsummaryrefslogtreecommitdiff
path: root/pattern.c
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2023-04-24 21:45:02 +0100
committerBen Harris <bjh21@bjh21.me.uk>2023-04-24 21:45:02 +0100
commit42cc7f6cb0bfb99255e94c86e3c155bc1c9fd0e1 (patch)
treebdf97f78c0f787092e73475b74006a650e52c0ba /pattern.c
parent20d424bf1bef4c1ed249ec3c72a859deb926e207 (diff)
downloadpuzzles-42cc7f6cb0bfb99255e94c86e3c155bc1c9fd0e1.zip
puzzles-42cc7f6cb0bfb99255e94c86e3c155bc1c9fd0e1.tar.gz
puzzles-42cc7f6cb0bfb99255e94c86e3c155bc1c9fd0e1.tar.bz2
puzzles-42cc7f6cb0bfb99255e94c86e3c155bc1c9fd0e1.tar.xz
Correct a comment in Pattern's clue-drawing code
Diffstat (limited to 'pattern.c')
-rw-r--r--pattern.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pattern.c b/pattern.c
index 9ca42f6..1ceb921 100644
--- a/pattern.c
+++ b/pattern.c
@@ -1808,10 +1808,10 @@ static void draw_numbers(
* and FS_SMALL in all other cases.
*
* If we assume that a digit is about 0.6em wide, and we want
- * about that space between clues, then FS_SMALL should be
+ * about that space between clues, then FS_LARGE should be
* TILESIZE/1.2. If we also assume that clues are at most two
* digits long then the case where adjacent clues are two digits
- * long requries FS_LARGE to be TILESIZE/1.8.
+ * long requries FS_SMALL to be TILESIZE/1.8.
*/
fontsize = (TILE_SIZE + 0.5F) /
(state->common->fontsize == FS_LARGE ? 1.2F : 1.8F);