summaryrefslogtreecommitdiff
path: root/src/modules/fonts/FontOptions.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/fonts/FontOptions.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/fonts/FontOptions.cpp')
-rw-r--r--src/modules/fonts/FontOptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/fonts/FontOptions.cpp b/src/modules/fonts/FontOptions.cpp
index efa1bb2382..ff47b4f86a 100644
--- a/src/modules/fonts/FontOptions.cpp
+++ b/src/modules/fonts/FontOptions.cpp
@@ -536,7 +536,7 @@ static void sttSaveFontData(HWND hwndDlg, FontInternal &F)
else
mir_snprintf(str, SIZEOF(str), "%s", F.prefix);
- if (DBWriteContactSettingTString(NULL, F.dbSettingsGroup, str, F.value.szFace)) {
+ if (db_set_ts(NULL, F.dbSettingsGroup, str, F.value.szFace)) {
char buff[1024];
WideCharToMultiByte(code_page, 0, F.value.szFace, -1, buff, 1024, 0, 0);
DBWriteContactSettingString(NULL, F.dbSettingsGroup, str, buff);