diff options
Diffstat (limited to 'apps/plugins/puzzles/src/unequal.c')
| -rw-r--r-- | apps/plugins/puzzles/src/unequal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/puzzles/src/unequal.c b/apps/plugins/puzzles/src/unequal.c index db309e2..addcffa 100644 --- a/apps/plugins/puzzles/src/unequal.c +++ b/apps/plugins/puzzles/src/unequal.c @@ -1282,12 +1282,12 @@ fail: static key_label *game_request_keys(const game_params *params, int *nkeys) { + int i; int order = params->order; char off = (order > 9) ? '0' : '1'; key_label *keys = snewn(order + 1, key_label); *nkeys = order + 1; - int i; for(i = 0; i < order; i++) { if (i==10) off = 'a'-10; keys[i].button = i + off; |