diff options
Diffstat (limited to 'plugins/helpers')
-rw-r--r-- | plugins/helpers/db_helpers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/helpers/db_helpers.h b/plugins/helpers/db_helpers.h index c208442db7..a2d4a4c2ac 100644 --- a/plugins/helpers/db_helpers.h +++ b/plugins/helpers/db_helpers.h @@ -134,13 +134,13 @@ __inline static TCHAR *Hlp_DBGetContactSettingTString(HANDLE hContact,const char }
#endif
if (rc == 0) {
- res = _tcsdup(dbv.ptszVal);
+ res = mir_tstrdup(dbv.ptszVal);
DBFreeVariant(&dbv);
return res;
}
else {
DBFreeVariant(&dbv);
- return errVal!=NULL?_tcsdup(errVal):NULL;
+ return errVal!=NULL?mir_tstrdup(errVal):NULL;
}
}
|