Fix 1551183.

svn path=/trunk/netsurf/; revision=2911
This commit is contained in:
Richard Wilson 2006-09-04 16:47:08 +00:00
parent 5d53f3784c
commit 05f16eef8f
1 changed files with 2 additions and 2 deletions

View File

@ -428,7 +428,7 @@ void browser_window_recalculate_frameset(struct browser_window *bw) {
widths[col][row] += size;
}
}
} else {
} else if (bw_width != avail_width) {
/* proportionally distribute error */
extent = bw_width - avail_width;
for (col = 0; col < bw->cols; col++) {
@ -487,7 +487,7 @@ void browser_window_recalculate_frameset(struct browser_window *bw) {
heights[col][row] += size;
}
}
} else {
} else if (bw_height != avail_height) {
/* proportionally distribute error */
extent = bw_height - avail_height;
for (row = 0; row < bw->rows; row++) {