diff options
| author | Simon Tatham <anakin@pobox.com> | 2018-04-25 19:24:06 +0100 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2018-04-25 19:24:06 +0100 |
| commit | a1663d6650053eee5e43a1267a05578a920521da (patch) | |
| tree | 9346df967176dbfdb862532d2b28163e93db2c14 /unequal.c | |
| parent | 441b11b310a17dbf7751f4c77fe69ca729b0fffb (diff) | |
| download | puzzles-a1663d6650053eee5e43a1267a05578a920521da.zip puzzles-a1663d6650053eee5e43a1267a05578a920521da.tar.gz puzzles-a1663d6650053eee5e43a1267a05578a920521da.tar.bz2 puzzles-a1663d6650053eee5e43a1267a05578a920521da.tar.xz | |
C89 build fixes.
Recent changes introduced a couple of non-C89-compatible mixed
declarations and code.
Diffstat (limited to '')
| -rw-r--r-- | unequal.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |