[MSPAINT]

- Fix build

svn path=/trunk/; revision=61862
This commit is contained in:
Thomas Faber 2014-01-28 18:22:46 +00:00
parent fe9e1e9388
commit 20cc310473

View file

@ -208,10 +208,10 @@ WindowProcedure(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
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)
{