aboutsummaryrefslogtreecommitdiff
path: root/src/menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu.cpp')
-rw-r--r--src/menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/menu.cpp b/src/menu.cpp
index 12ec3ef..797757f 100644
--- a/src/menu.cpp
+++ b/src/menu.cpp
@@ -271,7 +271,7 @@ private:
continue;
// don't show too many
- if (g_menu_model_get_n_items (G_MENU_MODEL(menu) >= MAX_APPTS))
+ if (g_menu_model_get_n_items (G_MENU_MODEL(menu)) >= MAX_APPTS)
break;
added.insert(appt.uid);