Author: tkreuzer
Date: Thu Dec 18 08:13:01 2014
New Revision: 65736
URL:
http://svn.reactos.org/svn/reactos?rev=65736&view=rev
Log:
[USER32]
Fix copy-paste-bug in SubtractRect
Modified:
trunk/reactos/win32ss/user/user32/windows/rect.c
Modified: trunk/reactos/win32ss/user/user32/windows/rect.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
==============================================================================
--- trunk/reactos/win32ss/user/user32/windows/rect.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/windows/rect.c [iso-8859-1] Thu Dec 18 08:13:01
2014
@@ -218,8 +218,8 @@
{
if(lprcDst->top == tempRect.top)
lprcDst->top = tempRect.bottom;
- else if(lprcDst->right == tempRect.right)
- lprcDst->right = tempRect.left;
+ else if(lprcDst->bottom == tempRect.bottom)
+ lprcDst->bottom = tempRect.top;
}
return(TRUE);