aboutsummaryrefslogtreecommitdiff
path: root/filling.c
diff options
context:
space:
mode:
Diffstat (limited to 'filling.c')
-rw-r--r--filling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filling.c b/filling.c
index 80a06dd..ccae7e2 100644
--- a/filling.c
+++ b/filling.c
@@ -1474,7 +1474,7 @@ static char *interpret_move(const game_state *state, game_ui *ui,
assert(ui);
assert(ds);
- button &= ~MOD_MASK;
+ button = STRIP_BUTTON_MODIFIERS(button);
if (button == LEFT_BUTTON || button == LEFT_DRAG) {
/* A left-click anywhere will clear the current selection. */