From d81a949cdd0fd22fb3547b31d05de0ea7bc32044 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 28 May 2009 15:51:03 +0000 Subject: [PATCH] Remove unused code svn path=/trunk/netsurf/; revision=7603 --- desktop/frames.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/desktop/frames.c b/desktop/frames.c index a59980d98..d631f0962 100644 --- a/desktop/frames.c +++ b/desktop/frames.c @@ -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 {