aboutsummaryrefslogtreecommitdiff
path: root/solo.c
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2023-08-11 23:52:53 +0100
committerBen Harris <bjh21@bjh21.me.uk>2023-08-13 16:44:24 +0100
commitf7fa9d45f5644576b8a38cd9e6dd7838ad286127 (patch)
tree7bd2ff4b4b34d79d1306eeaaa0afd384c4c9edff /solo.c
parent7e7545cb56cf44aa42582561a2b134ae6cbb633b (diff)
downloadpuzzles-f7fa9d45f5644576b8a38cd9e6dd7838ad286127.zip
puzzles-f7fa9d45f5644576b8a38cd9e6dd7838ad286127.tar.gz
puzzles-f7fa9d45f5644576b8a38cd9e6dd7838ad286127.tar.bz2
puzzles-f7fa9d45f5644576b8a38cd9e6dd7838ad286127.tar.xz
Solo: use new move_cursor() features
Diffstat (limited to 'solo.c')
-rw-r--r--solo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/solo.c b/solo.c
index b9e4ab3..6c01583 100644
--- a/solo.c
+++ b/solo.c
@@ -4696,10 +4696,9 @@ static char *interpret_move(const game_state *state, game_ui *ui,
}
}
if (IS_CURSOR_MOVE(button)) {
- move_cursor(button, &ui->hx, &ui->hy, cr, cr, false, NULL);
- ui->hshow = true;
ui->hcursor = true;
- return MOVE_UI_UPDATE;
+ return move_cursor(button, &ui->hx, &ui->hy, cr, cr, false,
+ &ui->hshow);
}
if (ui->hshow &&
(button == CURSOR_SELECT)) {