lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV ac102: patch to fix missing screen update after charset cha


From: Андрей Чернов
Subject: Re: LYNX-DEV ac102: patch to fix missing screen update after charset changes
Date: Sun, 21 Dec 1997 17:01:37 +0300 (MSK)

On Sun, 21 Dec 1997, Андрей Чернов wrote:

> Screen not updated after two commands: '@' (RAW_TOGGLE) and 'o'+'^A'
> (assumed charset change) and this patch fix it. Maybe it is not optimized
> but works in the right way. First change in the patch inspired by Klaus
> Wiede answer, second is mine.

Please not apply previous variant, it cause coredump in some cases, here
is new revised variant:

*** src/LYMainLoop.c.orig       Mon Nov 24 22:17:20 1997
--- src/LYMainLoop.c    Sun Dec 21 15:35:47 1997
***************
*** 1948,1958 ****
                HTOutputFormat = WWW_SOURCE;
            }
            HEAD_request = HTLoadedDocumentIsHEAD();
!           if (real_cmd == LYK_RELOAD) {
!               HTuncache_current_document();
!           } else {
!               LYforce_no_cache = TRUE;
!           }
  #ifdef NO_ASSUME_SAME_DOC
            /*
             *  Don't assume the reloaded document will be the same. - FM
--- 1948,1954 ----
                HTOutputFormat = WWW_SOURCE;
            }
            HEAD_request = HTLoadedDocumentIsHEAD();
!           HTuncache_current_document();
  #ifdef NO_ASSUME_SAME_DOC
            /*
             *  Don't assume the reloaded document will be the same. - FM
***************
*** 3659,3664 ****
--- 3655,3661 ----
                        HTOutputFormat = WWW_SOURCE;
                    }
                    HEAD_request = HTLoadedDocumentIsHEAD();
+                   HTuncache_current_document();
  #ifdef NO_ASSUME_SAME_DOC
                    newdoc.line = 1;
                    newdoc.link = 0;


-- 
Andrey A. Chernov
<address@hidden>
http://www.nagual.pp.ru/~ache/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]