summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CrashDumper/src/utils.cpp')
-rw-r--r--plugins/CrashDumper/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CrashDumper/src/utils.cpp b/plugins/CrashDumper/src/utils.cpp
index 164e63dfd0..09ea0ed003 100644
--- a/plugins/CrashDumper/src/utils.cpp
+++ b/plugins/CrashDumper/src/utils.cpp
@@ -230,7 +230,7 @@ void GetISO8061Time(SYSTEMTIME *stLocal, LPTSTR lpszString, DWORD dwSize)
if (clsdates) {
GetDateFormat(LOCALE_INVARIANT, 0, stLocal, TEXT("d MMM yyyy"), lpszString, dwSize);
- int dlen = (int)_tcslen(lpszString);
+ int dlen = (int)mir_tstrlen(lpszString);
GetTimeFormat(LOCALE_INVARIANT, 0, stLocal, TEXT(" H:mm:ss"), lpszString + dlen, dwSize - dlen);
}
else {