Noticed recently that bitcount16() isn't 16-bit clean due to signed
[sgt/puzzles] / dominosa.c
index 6d4e462..f08cbf6 100644 (file)
@@ -1711,7 +1711,7 @@ static void game_print(drawing *dr, game_state *state, int tilesize)
 
     /* Ick: fake up `ds->tilesize' for macro expansion purposes */
     game_drawstate ads, *ds = &ads;
-    ads.tilesize = tilesize;
+    game_set_size(dr, ds, NULL, tilesize);
 
     c = print_mono_colour(dr, 1); assert(c == COL_BACKGROUND);
     c = print_mono_colour(dr, 0); assert(c == COL_TEXT);
@@ -1778,5 +1778,5 @@ const struct game thegame = {
     TRUE, FALSE, game_print_size, game_print,
     game_wants_statusbar,
     FALSE, game_timing_state,
-    0,                                /* mouse_priorities */
+    0,                                /* flags */
 };