summaryrefslogtreecommitdiff
path: root/src/modules/options/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-10-13 22:28:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-10-13 22:28:28 +0000
commitfd90113f1a40064a9a6dc670a60dd3b2a738a467 (patch)
tree9d6bf74c6fdaaf7405329ef7f72caf12bbba658b /src/modules/options/options.cpp
parent5849172a0425c813f3f57abbbf941022fa420950 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@1915 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/options/options.cpp')
-rw-r--r--src/modules/options/options.cpp6
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");