summaryrefslogtreecommitdiff
path: root/src/modules/fonts/FontOptions.cpp
diff options
context:
space:
mode:
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);