Fixed imprecision in the MDI tiling functionality.

This commit is contained in:
Noomen Hamza 1999-06-12 08:08:35 +00:00 committed by Alexandre Julliard
parent e987634c44
commit fe0a5e8895
1 changed files with 1 additions and 1 deletions

View File

@ -752,7 +752,7 @@ static void MDITile( WND* wndClient, MDICLIENTINFO *ci, WPARAM wParam )
int x, y, xsize, ysize;
int rows, columns, r, c, i;
rect = wndClient->rectClient;
GetClientRect(wndClient->hwndSelf,&rect);
rows = (int) sqrt((double)total);
columns = total / rows;