mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-12 04:24:22 +03:00
Remove unused code
svn path=/trunk/netsurf/; revision=7603
This commit is contained in:
parent
dda592c870
commit
d81a949cdd
@ -336,9 +336,6 @@ void browser_window_recalculate_frameset(struct browser_window *bw) {
|
||||
/* proportionally distribute error */
|
||||
extent = bw_width - avail_width;
|
||||
for (col = 0; col < bw->cols; col++) {
|
||||
index = (row * bw->cols) + col;
|
||||
window = &bw->children[index];
|
||||
|
||||
if (col == bw->cols - 1) {
|
||||
widths[col][row] = bw_width;
|
||||
} else {
|
||||
@ -402,9 +399,6 @@ void browser_window_recalculate_frameset(struct browser_window *bw) {
|
||||
/* proportionally distribute error */
|
||||
extent = bw_height - avail_height;
|
||||
for (row = 0; row < bw->rows; row++) {
|
||||
index = (row * bw->cols) + col;
|
||||
window = &bw->children[index];
|
||||
|
||||
if (row == bw->rows - 1) {
|
||||
heights[col][row] = bw_height;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user