Skip to content
Snippets Groups Projects
Commit fe0a5e88 authored by Noomen Hamza's avatar Noomen Hamza Committed by Alexandre Julliard
Browse files

Fixed imprecision in the MDI tiling functionality.

parent e987634c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment