summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.c b/src/ui.c
index ce99191..8869607 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -1777,7 +1777,7 @@ bool ui_push_button_image(button_state *state, char *title, image *img)
result = true;
}
}
- if (is_left_released(global_ui_context.mouse))
+ else if (is_left_released(global_ui_context.mouse))
{
state->state = 0;
}