summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/svc_timezone_old.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/svc_timezone_old.cpp')
-rw-r--r--plugins/UserInfoEx/src/svc_timezone_old.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/svc_timezone_old.cpp b/plugins/UserInfoEx/src/svc_timezone_old.cpp
index 6eb85542aa..a5052f2b3d 100644
--- a/plugins/UserInfoEx/src/svc_timezone_old.cpp
+++ b/plugins/UserInfoEx/src/svc_timezone_old.cpp
@@ -201,8 +201,8 @@ public:
pTimeZone->dwIndex = TZINDEX_UNSPECIFIED;
if (result == ERROR_SUCCESS) {
- pTimeZone->ptszName = mir_tcsdup(szName);
- pTimeZone->ptszDisplay = mir_tcsdup(szDisplay);
+ pTimeZone->ptszName = mir_tstrdup(szName);
+ pTimeZone->ptszDisplay = mir_tstrdup(szDisplay);
result = (insert(pTimeZone) == ERROR_SUCCESS);
}