Author: tfaber
Date: Tue Jan 28 18:22:46 2014
New Revision: 61862
URL:
http://svn.reactos.org/svn/reactos?rev=61862&view=rev
Log:
[MSPAINT]
- Fix build
Modified:
trunk/reactos/base/applications/mspaint/winproc.c
Modified: trunk/reactos/base/applications/mspaint/winproc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/winproc.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/winproc.c [iso-8859-1] Tue Jan 28 18:22:46
2014
@@ -208,10 +208,10 @@
{
HDROP drophandle;
TCHAR droppedfile[MAX_PATH];
+ HBITMAP bmNew = NULL;
drophandle = (HDROP)wParam;
DragQueryFile(drophandle, 0, droppedfile, sizeof(droppedfile));
DragFinish(drophandle);
- HBITMAP bmNew = NULL;
LoadDIBFromFile(&bmNew, droppedfile, &fileTime, &fileSize,
&fileHPPM, &fileVPPM);
if (bmNew != NULL)
{