summaryrefslogtreecommitdiff
path: root/plugins/KeyboardNotify/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/KeyboardNotify/src/main.cpp')
-rw-r--r--plugins/KeyboardNotify/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/KeyboardNotify/src/main.cpp b/plugins/KeyboardNotify/src/main.cpp
index b753cdd511..61e9a6b01d 100644
--- a/plugins/KeyboardNotify/src/main.cpp
+++ b/plugins/KeyboardNotify/src/main.cpp
@@ -697,7 +697,7 @@ void createEventPrefix(TCHAR *prefixName, size_t maxLen)
else {
str = profileName + len - maxLen / 2;
_tcsncpy_s(prefixName, (maxLen / 2), profileName, _TRUNCATE);
- _tcscat(prefixName, str);
+ mir_tstrcat(prefixName, str);
}
}