Author: jimtabor
Date: Mon Nov 4 02:54:21 2013
New Revision: 60864
URL:
http://svn.reactos.org/svn/reactos?rev=60864&view=rev
Log:
- Fix msvc build.
Modified:
trunk/reactos/win32ss/user/user32/windows/message.c
Modified: trunk/reactos/win32ss/user/user32/windows/message.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
==============================================================================
--- trunk/reactos/win32ss/user/user32/windows/message.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/windows/message.c [iso-8859-1] Mon Nov 4 02:54:21
2013
@@ -577,8 +577,9 @@
case WM_GETTEXT:
case WM_ASKCBFORMATNAME:
{
+ LPWSTR Buffer;
if (!AnsiMsg->lParam) break;
- LPWSTR Buffer = RtlAllocateHeap(GetProcessHeap(), 0, AnsiMsg->wParam *
sizeof(WCHAR));
+ Buffer = RtlAllocateHeap(GetProcessHeap(), 0, AnsiMsg->wParam *
sizeof(WCHAR));
if (!Buffer) return FALSE;
UnicodeMsg->lParam = (LPARAM)Buffer;
break;