Author: jgardou
Date: Sun Mar 31 19:55:53 2013
New Revision: 58630
URL:
http://svn.reactos.org/svn/reactos?rev=58630&view=rev
Log:
[USER32]
- Fix a bug in new LoadImage implementation
Modified:
trunk/reactos/win32ss/user/user32/windows/cursoricon_new.c
Modified: trunk/reactos/win32ss/user/user32/windows/cursoricon_new.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
==============================================================================
--- trunk/reactos/win32ss/user/user32/windows/cursoricon_new.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/windows/cursoricon_new.c [iso-8859-1] Sun Mar 31
19:55:53 2013
@@ -745,7 +745,7 @@
if(!hbmpOld)
goto end;
if(!StretchDIBits(hdc, 0, 0, cxDesired, cyDesired,
- 0, 0, pbmi->bmiHeader.biWidth, pbmi->bmiHeader.biWidth,
+ 0, 0, pbmi->bmiHeader.biWidth,
pbmi->bmiHeader.biHeight,
pvBits, pbmiCopy, DIB_RGB_COLORS, SRCCOPY))
{
ERR("StretchDIBits failed!.\n");