summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2006-09-08 20:19:08 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2006-09-08 20:19:08 +0000
commitc7f70a8cf6b1aa43354e96be70c19a19b394d539 (patch)
treea04b4b9a337708e8372dd9b1b426fbf6f82e487e
parentb30921382f1790c2acb9fbc04a9a41c3a52fcafe (diff)
downloadnetsurf-c7f70a8cf6b1aa43354e96be70c19a19b394d539.tar.gz
netsurf-c7f70a8cf6b1aa43354e96be70c19a19b394d539.tar.bz2
Stop iframes from all getting the same content.
svn path=/trunk/netsurf/; revision=2935
-rw-r--r--desktop/browser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/browser.c b/desktop/browser.c
index 7284bbc1e..a6caa14d1 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -243,8 +243,8 @@ void browser_window_create_iframes(struct browser_window *bw,
index = 0;
for (cur = iframe; cur; cur = cur->next) {
window = &(bw->iframes[index++]);
- if (iframe->url)
- browser_window_go(window, iframe->url, NULL, true);
+ if (cur->url)
+ browser_window_go(window, cur->url, NULL, true);
}
}