~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Take out some lurking "nullgame" holdovers from unfinished puzzle
[sgt/puzzles]
/
unfinished
/
slide.c
diff --git
a/unfinished/slide.c
b/unfinished/slide.c
index
af8f210
..
d32473c
100644
(file)
--- a/
unfinished/slide.c
+++ b/
unfinished/slide.c
@@
-1597,7
+1597,8
@@
static void game_compute_size(game_params *params, int tilesize,
int *x, int *y)
{
/* fool the macros */
int *x, int *y)
{
/* fool the macros */
- struct dummy { int tilesize; } dummy = { tilesize }, *ds = &dummy;
+ struct dummy { int tilesize; } dummy, *ds = &dummy;
+ dummy.tilesize = tilesize;
*x = params->w * TILESIZE + 2*BORDER;
*y = params->h * TILESIZE + 2*BORDER;
*x = params->w * TILESIZE + 2*BORDER;
*y = params->h * TILESIZE + 2*BORDER;
@@
-2303,7
+2304,7
@@
static void game_print(drawing *dr, game_state *state, int tilesize)
}
#ifdef COMBINED
}
#ifdef COMBINED
-#define thegame
nullgam
e
+#define thegame
slid
e
#endif
const struct game thegame = {
#endif
const struct game thegame = {