small efficiency fix
Modified: trunk/reactos/lib/user32/windows/defwnd.c
_____
Modified: trunk/reactos/lib/user32/windows/defwnd.c
--- trunk/reactos/lib/user32/windows/defwnd.c 2005-02-27 15:46:46 UTC
(rev 13765)
+++ trunk/reactos/lib/user32/windows/defwnd.c 2005-02-27 17:03:00 UTC
(rev 13766)
@@ -487,7 +487,7 @@
WinPosGetMinMaxInfo(hwnd, NULL, NULL, &minTrack, &maxTrack);
GetWindowRect(hwnd, &sizingRect);
- GetWindowRect(hwnd, &unmodRect);
+ unmodRect = sizingRect;
if (Style & WS_CHILD)
{
MapWindowPoints( 0, hWndParent, (LPPOINT)&sizingRect, 2 );
Show replies by date