diff options
author | George Hazan <george.hazan@gmail.com> | 2015-12-01 22:08:19 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-12-01 22:08:19 +0000 |
commit | 2051c4098574615efacf61305d13b26b3595a4bd (patch) | |
tree | 8026b212526dac509040f8aa9aa15e3cbbabb1fa | |
parent | 8a9d9a23e2f64016adedd0aa748d06d4c6d55459 (diff) |
also fix for an editor
git-svn-id: http://svn.miranda-ng.org/main/trunk@15800 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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; } |