summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-05-11 13:26:16 +0200
committerAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-05-11 13:26:16 +0200
commit5392f970f970ba0d5f4642b11935e61653086aae (patch)
tree020b881d0b93d3af82d2b4d83e7ca7e44101f052 /src/ui.c
parent45d1a969f70e1b127eb0aaab94dfce33b18e42ee (diff)
work
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;
}