Author: jimtabor Date: Thu Jul 5 22:35:06 2012 New Revision: 56842
URL: http://svn.reactos.org/svn/reactos?rev=56842&view=rev Log: - Fix MSC build.
Modified: trunk/reactos/win32ss/user/user32/windows/defwnd.c
Modified: trunk/reactos/win32ss/user/user32/windows/defwnd.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/windows... ============================================================================== --- trunk/reactos/win32ss/user/user32/windows/defwnd.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/user32/windows/defwnd.c [iso-8859-1] Thu Jul 5 22:35:06 2012 @@ -1216,6 +1216,7 @@ case WM_PAINT: { PAINTSTRUCT Ps; + HDC hDC;
/* If already in Paint and Client area is not empty just return. */ if (pWnd->state2 & WNDS2_STARTPAINT && !IsRectEmpty(&pWnd->rcClient)) @@ -1224,7 +1225,7 @@ return 0; }
- HDC hDC = BeginPaint(hWnd, &Ps); + hDC = BeginPaint(hWnd, &Ps); if (hDC) { HICON hIcon;