summaryrefslogtreecommitdiff
path: root/plugins/Folders/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Folders/src/utils.cpp')
-rw-r--r--plugins/Folders/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Folders/src/utils.cpp b/plugins/Folders/src/utils.cpp
index 69d571990f..93d572cf78 100644
--- a/plugins/Folders/src/utils.cpp
+++ b/plugins/Folders/src/utils.cpp
@@ -183,7 +183,7 @@ int GetStringFromDatabase(char *szSettingName, const wchar_t *szError, TCHAR *sz
{
size_t len;
DBVARIANT dbv;
- if ( DBGetContactSettingWString(NULL, ModuleName, szSettingName, &dbv) == 0) {
+ if ( db_get_ws(NULL, ModuleName, szSettingName, &dbv) == 0) {
size_t tmp = _tcslen(dbv.ptszVal);
len = (tmp < size - 1) ? tmp : size - 1;
_tcsncpy(szResult, dbv.ptszVal, len);