summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/menu_options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/menu_options.cpp b/src/mir_app/src/menu_options.cpp
index 2a4908ce3c..2003d9b685 100644
--- a/src/mir_app/src/menu_options.cpp
+++ b/src/mir_app/src/menu_options.cpp
@@ -204,7 +204,7 @@ class CGenMenuOptionsPage : public CDlgBase
for (int i = 0; i < arItems.getCount(); i++) {
MenuItemOptData *PD = arItems[i];
- if (PD->pos - lastpos >= SEPARATORPOSITIONINTERVAL) {
+ if (i > 0 && PD->pos - lastpos >= SEPARATORPOSITIONINTERVAL) {
MenuItemOptData *sep = new MenuItemOptData();
sep->id = -1;
sep->name = mir_tstrdup(STR_SEPARATOR);