X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/fa3abef5abe95dd9668a87b1cc57a724dcbf6354..29797015e2425b779af5858b4bac2ff5e3aaee3b:/unequal.c diff --git a/unequal.c b/unequal.c index 320dedf..20fc2d2 100644 --- a/unequal.c +++ b/unequal.c @@ -1296,8 +1296,6 @@ static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds, return ""; } } - if (button == 'H' || button == 'h') - return dupstr("H"); if (ui->hx != -1 && ui->hy != -1) { debug(("button %d, cbutton %d", button, (int)((char)button))); @@ -1323,6 +1321,10 @@ static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds, return dupstr(buf); } + + if (button == 'H' || button == 'h') + return dupstr("H"); + return NULL; }