summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod/Notification.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-05-20 17:15:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-05-20 17:15:16 +0000
commit7f22e924e0146afa260530c0920c7968d88ddbd9 (patch)
tree55586f5f2fb6c5d1441137605b890002dc64fd5e /plugins/NewAwaySysMod/Notification.cpp
parent22185e24b1ce6c76a0c49c8bc0813f777081c8b0 (diff)
minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@102 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);
}
}