aboutsummaryrefslogtreecommitdiff
path: root/src/capi.c
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2007-10-24 22:24:01 +0200
committerjcid <devnull@localhost>2007-10-24 22:24:01 +0200
commit9c82e3b54e82bd6cd9a3541c289eaf9c5393ed63 (patch)
treef000ec305afb5a5a90f00be36e8eee94b889f7a6 /src/capi.c
parent6490b8207de848c39894ca635497a7cd941d68d4 (diff)
Implemented a new scheme of scroll-position remembering. This is one per
visited page intead of one per url (this is more standard).
Diffstat (limited to 'src/capi.c')
-rw-r--r--src/capi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/capi.c b/src/capi.c
index 2b77614d..fb89f15a 100644
--- a/src/capi.c
+++ b/src/capi.c
@@ -216,7 +216,7 @@ static int Capi_dpi_verify_request(DilloWeb *web)
(strchr(URL_STR(web->url), '?') || URL_DATA_(web->url))) {
/* only allow dpi requests from dpi-generated urls */
if (a_Nav_stack_size(web->bw)) {
- referer = a_History_get_url(NAV_TOP(web->bw));
+ referer = a_History_get_url(NAV_TOP_UIDX(web->bw));
if (dStrcasecmp(URL_SCHEME(referer), "dpi") == 0) {
allow = TRUE;
}