ref: 42cc7f6cb0bfb99255e94c86e3c155bc1c9fd0e1
parent: 20d424bf1bef4c1ed249ec3c72a859deb926e207
author: Ben Harris <bjh21@bjh21.me.uk>
date: Mon Apr 24 17:45:02 EDT 2023
Correct a comment in Pattern's clue-drawing code
--- a/pattern.c
+++ b/pattern.c
@@ -1808,10 +1808,10 @@
* 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);