diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/menu_options.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mir_app/src/menu_options.cpp b/src/mir_app/src/menu_options.cpp index b67cf8c99b..9c9d5bee58 100644 --- a/src/mir_app/src/menu_options.cpp +++ b/src/mir_app/src/menu_options.cpp @@ -167,9 +167,8 @@ class CGenMenuOptionsPage : public CDlgBase bin2hex(&p->mi.uid, sizeof(p->mi.uid), menuItemName); ptrT tszSettings(db_get_tsa(NULL, pszModule, menuItemName)); if (tszSettings == NULL) - continue; - - if (_stscanf(tszSettings, _T("%d;%d;%200s"), &visible, &pos, customName) < 2) + pos = p->mi.position; + else if (_stscanf(tszSettings, _T("%d;%d;%200s"), &visible, &pos, customName) < 2) continue; } |