diff options
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); |