diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2012-02-04 00:56:27 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2012-02-04 00:56:27 -0500 |
commit | 2e4a63b4562dc6b9b9c7bd77d6c3881a7ba051c6 (patch) | |
tree | 88b2c328e9876607a2f3d94f64ab5db565813c3a /WWW/Library/Implementation | |
parent | 216dac017cbab83edefde32cfc4feac0c7cc13de (diff) | |
download | lynx-snapshots-2e4a63b4562dc6b9b9c7bd77d6c3881a7ba051c6.tar.gz |
snapshot of project "lynx", label v2-8-8dev_9h
Diffstat (limited to 'WWW/Library/Implementation')
-rw-r--r-- | WWW/Library/Implementation/HTAccess.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/WWW/Library/Implementation/HTAccess.c b/WWW/Library/Implementation/HTAccess.c index 7587aa49..2b287e9d 100644 --- a/WWW/Library/Implementation/HTAccess.c +++ b/WWW/Library/Implementation/HTAccess.c @@ -1,5 +1,5 @@ /* - * $LynxId: HTAccess.c,v 1.75 2012/02/03 01:43:58 tom Exp $ + * $LynxId: HTAccess.c,v 1.76 2012/02/04 00:15:53 tom Exp $ * * Access Manager HTAccess.c * ============== @@ -895,15 +895,16 @@ static BOOL HTLoadDocument(const char *full_address, /* may include #fragment */ * based on an If-Modified-Since check, etc.) but the code for doing * those other things isn't available yet. */ - if (LYoverride_no_cache || + if (!reloading && + (LYoverride_no_cache || #ifdef DONT_TRACK_INTERNAL_LINKS - !HText_hasNoCacheSet(text) || - !HText_AreDifferent(anchor, full_address) + !HText_hasNoCacheSet(text) || + !HText_AreDifferent(anchor, full_address) #else - ((LYinternal_flag || !HText_hasNoCacheSet(text)) && - !isLYNXIMGMAP(full_address)) + ((LYinternal_flag || !HText_hasNoCacheSet(text)) && + !isLYNXIMGMAP(full_address)) #endif /* TRACK_INTERNAL_LINKS */ - ) { + )) { CTRACE((tfp, "HTAccess: Document already in memory.\n")); HText_select(text); |