Author: gadamopoulos
Date: Sun Apr 7 15:22:20 2013
New Revision: 58714
URL:
http://svn.reactos.org/svn/reactos?rev=58714&view=rev
Log:
[win32k]
- Fix IntGetScrollBarRect when WS_EX_LEFTSCROLLBAR style is used
- Spotted by vicmarcal
Modified:
trunk/reactos/win32ss/user/ntuser/scrollbar.c
Modified: trunk/reactos/win32ss/user/ntuser/scrollbar.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/scroll…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/scrollbar.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/scrollbar.c [iso-8859-1] Sun Apr 7 15:22:20 2013
@@ -103,7 +103,7 @@
case SB_VERT:
if(Wnd->ExStyle & WS_EX_LEFTSCROLLBAR)
{
- lprect->right = lprect->right;;
+ lprect->right = lprect->left;
lprect->left -= UserGetSystemMetrics(SM_CXVSCROLL);
}
else