summaryrefslogtreecommitdiff
path: root/src/ui/util.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-08-14 15:07:49 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-08-14 15:07:49 +0300
commitf8f382ed14151d3c293a9ee754f0a66f513fb7d3 (patch)
tree68b4ef771460378267b02c0499693751f4fb26ee /src/ui/util.c
parent459f73f2623f66e2887aae6feff2ec0fab185b2c (diff)
Bookmarks: Store in a hash with unique IDs
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}