Author: jimtabor
Date: Tue Feb 28 17:11:08 2017
New Revision: 74003
URL:
http://svn.reactos.org/svn/reactos?rev=74003&view=rev
Log:
[NtUser]
- Patch to level up scroll bar code, based on mudhead patch. See CORE-12827.
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] Tue Feb 28 17:11:08 2017
@@ -750,7 +750,7 @@
break;
default:
EngSetLastError(ERROR_INVALID_PARAMETER);
- return FALSE;
+ return FALSE; /* Nothing to do! */
}
old_style = IntSetStyle( Wnd, set_bits, clear_bits );
@@ -761,11 +761,11 @@
//if (Wnd->style & WS_VSCROLL) IntUpdateSBInfo(Wnd, SB_VERT);
/////
/* Frame has been changed, let the window redraw itself */
- co_WinPosSetWindowPos(Wnd, 0, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE |
- SWP_NOACTIVATE | SWP_NOZORDER | SWP_FRAMECHANGED |
SWP_NOSENDCHANGING);
+ co_WinPosSetWindowPos( Wnd, 0, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE
+ | SWP_NOACTIVATE | SWP_NOZORDER | SWP_FRAMECHANGED );
return TRUE;
}
- return FALSE;
+ return FALSE; /* no frame changes */
}
static void