aboutsummaryrefslogtreecommitdiff
path: root/rect.c
diff options
context:
space:
mode:
Diffstat (limited to 'rect.c')
-rw-r--r--rect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rect.c b/rect.c
index a20cf18..7228837 100644
--- a/rect.c
+++ b/rect.c
@@ -2415,7 +2415,8 @@ static char *interpret_move(const game_state *from, game_ui *ui,
enddrag = true;
erasing = (button == RIGHT_RELEASE);
} else if (IS_CURSOR_MOVE(button)) {
- move_cursor(button, &ui->cur_x, &ui->cur_y, from->w, from->h, false);
+ move_cursor(button, &ui->cur_x, &ui->cur_y, from->w, from->h, false,
+ NULL);
ui->cur_visible = true;
active = true;
if (!ui->cur_dragging) return MOVE_UI_UPDATE;