summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/psp_origin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/psp_origin.cpp')
-rw-r--r--plugins/UserInfoEx/src/psp_origin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserInfoEx/src/psp_origin.cpp b/plugins/UserInfoEx/src/psp_origin.cpp
index 5d435f4e7d..d7582ca475 100644
--- a/plugins/UserInfoEx/src/psp_origin.cpp
+++ b/plugins/UserInfoEx/src/psp_origin.cpp
@@ -95,7 +95,7 @@ INT_PTR CALLBACK PSPProcOrigin(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPara
mt.DateFormatLong(szTime, SIZEOF(szTime));
_tcscat(szTime, _T(" - "));
- ptr = szTime + _tcslen(szTime);
+ ptr = szTime + mir_tstrlen(szTime);
mt.TimeFormat(ptr, SIZEOF(szTime) - (ptr - szTime));
SetDlgItemText(hDlg, TXT_DATEADDED, szTime);
}