From 19d94db7c48a0a8cb5219013e14a6042b7217f9d Mon Sep 17 00:00:00 2001 From: James Bursa Date: Mon, 23 Dec 2002 20:29:25 +0000 Subject: [project @ 2002-12-23 20:29:25 by bursa] Fix renderings from cache. svn path=/import/netsurf/; revision=51 --- desktop/browser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'desktop') diff --git a/desktop/browser.c b/desktop/browser.c index 89ae80921..5d8d1e7b8 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -1,5 +1,5 @@ /** - * $Id: browser.c,v 1.7 2002/12/23 20:19:53 bursa Exp $ + * $Id: browser.c,v 1.8 2002/12/23 20:29:25 bursa Exp $ */ #include "netsurf/riscos/font.h" @@ -417,10 +417,10 @@ void browser_window_open_location(struct browser_window* bw, char* url) assert(bw != 0 && url != 0); browser_window_open_location_historical(bw, url); if (bw->history == NULL) - bw->history = history_create(NULL, bw->future_content->main_fetch->location); + bw->history = history_create(NULL, url); else { - history_remember(bw->history, NULL, bw->future_content->main_fetch->location); + history_remember(bw->history, NULL, url); bw->history = bw->history->later; } LOG(("end")); -- cgit v1.2.3