X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=towers.c;fp=towers.c;h=06b7279380b91050b94cba353f4fe6be2eb76931;hb=eeb2db283de9115f7256fa4cc49597d63e06b0ab;hp=a3a7e55a45f01166932ad7ca0b5f42df06ca20a7;hpb=edcf839d4c557c3993d681665829390697353344;p=sgt-puzzles.git diff --git a/towers.c b/towers.c index a3a7e55..06b7279 100644 --- a/towers.c +++ b/towers.c @@ -1349,7 +1349,7 @@ static char *interpret_move(const game_state *state, game_ui *ui, ui->hpencil = 0; } ui->hcursor = 0; - return ""; /* UI activity occurred */ + return UI_UPDATE; } if (button == RIGHT_BUTTON) { /* @@ -1369,7 +1369,7 @@ static char *interpret_move(const game_state *state, game_ui *ui, ui->hshow = 0; } ui->hcursor = 0; - return ""; /* UI activity occurred */ + return UI_UPDATE; } } else if (button == LEFT_BUTTON) { if (is_clue(state, tx, ty)) { @@ -1394,13 +1394,13 @@ static char *interpret_move(const game_state *state, game_ui *ui, } move_cursor(button, &ui->hx, &ui->hy, w, w, 0); ui->hshow = ui->hcursor = 1; - return ""; + return UI_UPDATE; } if (ui->hshow && (button == CURSOR_SELECT)) { ui->hpencil = 1 - ui->hpencil; ui->hcursor = 1; - return ""; + return UI_UPDATE; } if (ui->hshow &&