summaryrefslogtreecommitdiff
path: root/src/ui/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/util.c')
-rw-r--r--src/ui/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index 1d14ec99..185d37f3 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -240,8 +240,8 @@ int checkContextMenu_Widget(iWidget *menu, const SDL_Event *ev) {
240 const iInt2 mousePos = init_I2(ev->button.x, ev->button.y); 240 const iInt2 mousePos = init_I2(ev->button.x, ev->button.y);
241 if (contains_Widget(menu->parent, mousePos)) { 241 if (contains_Widget(menu->parent, mousePos)) {
242 openMenu_Widget(menu, localCoord_Widget(menu->parent, mousePos)); 242 openMenu_Widget(menu, localCoord_Widget(menu->parent, mousePos));
243 return 0x2;
243 } 244 }
244 return 0x2;
245 } 245 }
246 return 0; 246 return 0;
247} 247}