Author: cwittich
Date: Thu Jan 8 13:08:47 2009
New Revision: 38649
URL:
http://svn.reactos.org/svn/reactos?rev=38649&view=rev
Log:
fix msvc build
Modified:
trunk/reactos/base/applications/screensavers/logon/logon.c
Modified: trunk/reactos/base/applications/screensavers/logon/logon.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/screensa…
==============================================================================
--- trunk/reactos/base/applications/screensavers/logon/logon.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/screensavers/logon/logon.c [iso-8859-1] Thu Jan 8
13:08:47 2009
@@ -81,13 +81,16 @@
{
BITMAP bm; /* Bitmap structure as seen in bmWidth & bmHeight */
PAINTSTRUCT ps;
+ HDC hdc;
+ HDC hdcMem;
+ HBITMAP hbmOld;
// Obtain window coordinates.
GetClientRect (hWnd, &rect);
- HDC hdc = BeginPaint(hWnd, &ps);
- HDC hdcMem = CreateCompatibleDC(hdc);
- HBITMAP hbmOld = SelectObject(hdcMem, bitmap);
+ hdc = BeginPaint(hWnd, &ps);
+ hdcMem = CreateCompatibleDC(hdc);
+ hbmOld = SelectObject(hdcMem, bitmap);
GetObject(bitmap, sizeof(bm), &bm);