summaryrefslogtreecommitdiff
path: root/plugins/Watrack_MPD/src/utilities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack_MPD/src/utilities.cpp')
-rwxr-xr-xplugins/Watrack_MPD/src/utilities.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Watrack_MPD/src/utilities.cpp b/plugins/Watrack_MPD/src/utilities.cpp
index edaf3f42bd..c3e9e40cc8 100755
--- a/plugins/Watrack_MPD/src/utilities.cpp
+++ b/plugins/Watrack_MPD/src/utilities.cpp
@@ -20,5 +20,5 @@
wchar_t* __stdcall UniGetContactSettingUtf(MCONTACT hContact, const char *szModule,const char* szSetting, wchar_t* szDef)
{
wchar_t *szRes = db_get_tsa(hContact, szModule, szSetting);
- return szRes ? szRes : mir_tstrdup(szDef);
+ return szRes ? szRes : mir_wstrdup(szDef);
}