summaryrefslogtreecommitdiff
path: root/src/cache.c
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-05-10 21:52:09 +0200
committerjcid <devnull@localhost>2008-05-10 21:52:09 +0200
commitc6ee10ee8581770e349255237f87e58c7291b0ec (patch)
treead41a86303cd796bfaff6c534604ecba4fa7a41d /src/cache.c
parent420f1e34eaff259a202384618c28bf43c80c5d9e (diff)
+ Fixed a bug in the code that remembers the scrolling position.
Diffstat (limited to 'src/cache.c')
-rw-r--r--src/cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cache.c b/src/cache.c
index ab0f46fa..cb3fccd4 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -360,7 +360,7 @@ int a_Cache_open_url(void *web, CA_Callback_t Call, void *CbData)
DilloWeb *Web = web;
DilloUrl *Url = Web->url;
- if (URL_FLAGS(Url) & URL_E2EReload) {
+ if (URL_FLAGS(Url) & URL_E2EQuery) {
/* remove current entry */
Cache_entry_remove(NULL, Url);
}
@@ -746,7 +746,7 @@ static int Cache_redirect(CacheEntry_t *entry, int Flags, BrowserWindow *bw)
NewUrl = a_Url_new(URL_STR_(entry->Location), URL_STR_(entry->Url),
0, 0, 0);
if (entry->Flags & CA_TempRedirect)
- a_Url_set_flags(NewUrl, URL_FLAGS(NewUrl) | URL_E2EReload);
+ a_Url_set_flags(NewUrl, URL_FLAGS(NewUrl) | URL_E2EQuery);
a_Nav_push(bw, NewUrl);
a_Url_free(NewUrl);
} else {