summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main-menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main-menu.c b/src/main-menu.c
index 685ea8c..de8bb63 100644
--- a/src/main-menu.c
+++ b/src/main-menu.c
@@ -330,7 +330,7 @@ db_main_menu(void)
case SDLK_KP_ENTER:
if (active->action(active->
user_data)
- > 0)
+ != 0)
{
_db_main_menu_quit = 2;
}
@@ -360,7 +360,7 @@ db_main_menu(void)
if (db_pt_in_rect(event.button.x,
event.button.y,
&active->rect)) {
- if (active->action(active->user_data) >
+ if (active->action(active->user_data) !=
0) {
_db_main_menu_quit = 2;
}