summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/classMAnnivDate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/classMAnnivDate.cpp')
-rw-r--r--plugins/UserInfoEx/src/classMAnnivDate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserInfoEx/src/classMAnnivDate.cpp b/plugins/UserInfoEx/src/classMAnnivDate.cpp
index b1c4a8f9ee..940ddcda6c 100644
--- a/plugins/UserInfoEx/src/classMAnnivDate.cpp
+++ b/plugins/UserInfoEx/src/classMAnnivDate.cpp
@@ -588,7 +588,7 @@ int MAnnivDate::DBGetAnniversaryDate(MCONTACT hContact, uint16_t iIndex)
// read description
mir_snprintf(szStamp, "Anniv%dDesc", iIndex);
DBVARIANT dbv;
- if (!DB::Setting::GetTString(hContact, USERINFO, szStamp, &dbv)) {
+ if (!DB::Setting::GetWString(hContact, USERINFO, szStamp, &dbv)) {
_strDesc = dbv.pwszVal;
db_free(&dbv);
}