Author: jimtabor
Date: Tue Nov 18 15:24:33 2008
New Revision: 37451
URL:
http://svn.reactos.org/svn/reactos?rev=37451&view=rev
Log:
- Fixed a bug from revision 3514. Now we pass one more gdi bitmap test.
Modified:
trunk/reactos/subsystems/win32/win32k/objects/dibobj.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/dibobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/dibobj.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/dibobj.c [iso-8859-1] Tue Nov 18
15:24:33 2008
@@ -275,7 +275,9 @@
// If it succeeded, return number of scanlines copies
if(copyBitsResult == TRUE)
{
- result = SourceSize.cy - 1;
+ result = SourceSize.cy;
+// or
+// result = abs(bmi->bmiHeader.biHeight) - StartScan;
}
// Clean up