View | Details | Raw Unified | Return to bug 115226
Collapse All | Expand All

(-)screen.c.sav (-6 / +2 lines)
Lines 1390-1401 ScreenResize(TScreen * screen, Link Here
1390
		   False);
1390
		   False);
1391
    }
1391
    }
1392
1392
1393
    /* round so that it is unlikely the screen will change size on  */
1393
    rows = (height - border) /	FontHeight(screen);
1394
    /* small mouse movements.                                       */
1394
    cols = (width - border - ScrollbarWidth(screen)) / FontWidth(screen);
1395
    rows = (height + FontHeight(screen) / 2 - border) /
1396
	FontHeight(screen);
1397
    cols = (width + FontWidth(screen) / 2 - border - ScrollbarWidth(screen)) /
1398
	FontWidth(screen);
1399
    if (rows < 1)
1395
    if (rows < 1)
1400
	rows = 1;
1396
	rows = 1;
1401
    if (cols < 1)
1397
    if (cols < 1)

Return to bug 115226