From c8a4c6574f3e0894d97c67cdd45e311a42eda59f Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sat, 3 Aug 2013 16:40:25 +0000 Subject: Crash fix git-svn-id: http://svn.miranda-ng.org/main/trunk@5568 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/LotusNotify/src/debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/LotusNotify/src/debug.cpp b/plugins/LotusNotify/src/debug.cpp index 94e45edb6f..754705a827 100644 --- a/plugins/LotusNotify/src/debug.cpp +++ b/plugins/LotusNotify/src/debug.cpp @@ -41,7 +41,7 @@ void log_p(const wchar_t* szText, ...){ va_start(args, szText); int len = _vscwprintf(szText, args ) + 1; // _vscprintf doesn't count terminating '\0' //!!!!!!!!!!!!!!!! wchar_t* buffer = new wchar_t[len * sizeof(wchar_t)]; - mir_sntprintf(buffer, len, szText, args); + mir_vsntprintf(buffer, len, szText, args); va_end(args); log(buffer); delete buffer; -- cgit v1.2.3