diff options
Diffstat (limited to 'src/modules/options')
-rw-r--r-- | src/modules/options/options.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/options/options.cpp b/src/modules/options/options.cpp index 20a14de456..dbef784011 100644 --- a/src/modules/options/options.cpp +++ b/src/modules/options/options.cpp @@ -1357,14 +1357,14 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hdlg, UINT message, WPARAM wParam, L opd = dat->getCurrent();
if (opd) {
if (opd->ptszTab)
- DBWriteContactSettingTString(NULL, "Options", "LastTab", opd->ptszTab);
+ db_set_ts(NULL, "Options", "LastTab", opd->ptszTab);
else
DBDeleteContactSetting(NULL, "Options", "LastTab");
if (opd->ptszGroup)
- DBWriteContactSettingTString(NULL, "Options", "LastGroup", opd->ptszGroup);
+ db_set_ts(NULL, "Options", "LastGroup", opd->ptszGroup);
else
DBDeleteContactSetting(NULL, "Options", "LastGroup");
- DBWriteContactSettingTString(NULL, "Options", "LastPage", opd->ptszTitle);
+ db_set_ts(NULL, "Options", "LastPage", opd->ptszTitle);
}
else {
DBDeleteContactSetting(NULL, "Options", "LastTab");
|