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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/KeyboardNotify/src/main.cpp b/plugins/KeyboardNotify/src/main.cpp
index 6de02d77ee..afe5bb1cca 100644
--- a/plugins/KeyboardNotify/src/main.cpp
+++ b/plugins/KeyboardNotify/src/main.cpp
@@ -630,8 +630,8 @@ INT_PTR NormalizeSequenceService(WPARAM wParam, LPARAM lParam)
{
TCHAR strAux[MAX_PATH+1], *strIn = (TCHAR *)lParam;
- _snwprintf(strAux, MAX_PATH, _T("%s"), strIn);
- _snwprintf(strIn, MAX_PATH, _T("%s"), normalizeCustomString(strAux));
+ mir_sntprintf(strAux, MAX_PATH, _T("%s"), strIn);
+ mir_sntprintf(strIn, MAX_PATH, _T("%s"), normalizeCustomString(strAux));
return (int)strIn;
}