From 6b27aa506d7b45ce503d0a546cbe9d13746c2be3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 15 Oct 2012 21:31:54 +0000 Subject: Unicode translation for Import git-svn-id: http://svn.miranda-ng.org/main/trunk@1952 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_core/memory.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/mir_core') diff --git a/src/mir_core/memory.cpp b/src/mir_core/memory.cpp index 0ecddc6717..3ba3a11b56 100644 --- a/src/mir_core/memory.cpp +++ b/src/mir_core/memory.cpp @@ -224,9 +224,7 @@ MIR_CORE_DLL(int) mir_vsnprintf(char *buffer, size_t count, const char* fmt, va_ MIR_CORE_DLL(int) mir_vsntprintf(TCHAR *buffer, size_t count, const TCHAR* fmt, va_list va) { - int len; - - len = _vsntprintf(buffer, count-1, fmt, va); + int len = _vsntprintf(buffer, count-1, fmt, va); buffer[count-1] = 0; return len; } -- cgit v1.2.3