small efficiency fix
authorRoyce Mitchell III <royce3@ev1.net>
Sun, 27 Feb 2005 17:03:00 +0000 (17:03 +0000)
committerRoyce Mitchell III <royce3@ev1.net>
Sun, 27 Feb 2005 17:03:00 +0000 (17:03 +0000)
svn path=/trunk/; revision=13766

reactos/lib/user32/windows/defwnd.c

index b478cf5..6d7ed4b 100644 (file)
@@ -487,7 +487,7 @@ DefWndDoSizeMove(HWND hwnd, WORD wParam)
   
   WinPosGetMinMaxInfo(hwnd, NULL, NULL, &minTrack, &maxTrack);
   GetWindowRect(hwnd, &sizingRect);
-  GetWindowRect(hwnd, &unmodRect);  
+  unmodRect = sizingRect;
   if (Style & WS_CHILD)
     {
       MapWindowPoints( 0, hWndParent, (LPPOINT)&sizingRect, 2 );