aboutsummaryrefslogtreecommitdiff
path: root/unfinished/slide.c
diff options
context:
space:
mode:
Diffstat (limited to 'unfinished/slide.c')
-rw-r--r--unfinished/slide.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unfinished/slide.c b/unfinished/slide.c
index 9d4fce1..51ac7cb 100644
--- a/unfinished/slide.c
+++ b/unfinished/slide.c
@@ -1349,7 +1349,7 @@ static char *interpret_move(const game_state *state, game_ui *ui,
* And that's it. Update the display to reflect the start
* of a drag.
*/
- return "";
+ return UI_UPDATE;
} else if (button == LEFT_DRAG && ui->dragging) {
int dist, distlimit, dx, dy, s, px, py;
@@ -1376,7 +1376,7 @@ static char *interpret_move(const game_state *state, game_ui *ui,
if (px >= 0 && px < w && py >= 0 && py < h &&
ui->reachable[py*w+px]) {
ui->drag_currpos = py*w+px;
- return "";
+ return UI_UPDATE;
}
}
}