summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod/Notification.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewAwaySysMod/Notification.cpp')
-rw-r--r--plugins/NewAwaySysMod/Notification.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewAwaySysMod/Notification.cpp b/plugins/NewAwaySysMod/Notification.cpp
index 56f94b2ca6..62e8dd5c94 100644
--- a/plugins/NewAwaySysMod/Notification.cpp
+++ b/plugins/NewAwaySysMod/Notification.cpp
@@ -283,7 +283,7 @@ void ShowLog(TCString &LogFilePath)
if (Result <= 32) // Error
{
TCHAR szError[64];
- _stprintf(szError, TranslateT("Error #%d"), Result);
+ mir_sntprintf(szError, SIZEOF(szError), TranslateT("Error #%d"), Result);
ShowMsg(szError, TranslateT("Can't open log file ") + LogFilePath, true);
}
}