diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-08-03 16:40:25 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-08-03 16:40:25 +0000 |
commit | c8a4c6574f3e0894d97c67cdd45e311a42eda59f (patch) | |
tree | 4ce2c592b85014e8337f69fd2c2194f0e59e470f /plugins/LotusNotify/src/debug.cpp | |
parent | 42619a142919bc0d71a8918a3605b1a49b97eb5b (diff) |
Crash fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@5568 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/LotusNotify/src/debug.cpp')
-rw-r--r-- | plugins/LotusNotify/src/debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|