summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/filling.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/puzzles/src/filling.c')
-rw-r--r--apps/plugins/puzzles/src/filling.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/puzzles/src/filling.c b/apps/plugins/puzzles/src/filling.c
index 0e89728..e866a25 100644
--- a/apps/plugins/puzzles/src/filling.c
+++ b/apps/plugins/puzzles/src/filling.c
@@ -1289,10 +1289,10 @@ static const char *validate_desc(const game_params *params, const char *desc)
static key_label *game_request_keys(const game_params *params, int *nkeys)
{
+ int i;
key_label *keys = snewn(11, key_label);
- *nkeys = 11;
- int i;
+ *nkeys = 11;
for(i = 0; i < 10; ++i)
{