diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-01-01 10:06:48 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-01-01 10:06:48 -0300 |
commit | 9783b0f015c4437f1c3c457caacaecadc06ae644 (patch) | |
tree | 84c3ba69d48f3840799e8096077ba03778254108 /src/html.cc | |
parent | a242c0021263fc48fa57d1e4c1a874713745f590 (diff) |
imported patch dicache-cleanup5
Diffstat (limited to 'src/html.cc')
-rw-r--r-- | src/html.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/html.cc b/src/html.cc index e3b961c5..6454d6df 100644 --- a/src/html.cc +++ b/src/html.cc @@ -467,7 +467,6 @@ DilloHtml::DilloHtml(BrowserWindow *p_bw, const DilloUrl *url, a_Misc_parse_content_type(content_type, NULL, NULL, &charset); stop_parser = false; - stop_parser_after_head = false; repush_after_head = false; CurrTagOfs = 0; @@ -1607,10 +1606,10 @@ static void Html_tag_close_head(DilloHtml *html, int TagIdx) html->InFlags &= ~IN_HEAD; - if (html->stop_parser_after_head) + if (html->repush_after_head) { html->stop_parser = true; - if (html->repush_after_head) a_Nav_repush(html->bw); + } } } @@ -2937,7 +2936,6 @@ static void Html_tag_open_meta(DilloHtml *html, const char *tag, int tagsize) * this code in another bw might have already changed it for us. */ if (a_Misc_content_type_cmp(html->content_type, new_content)) { - html->stop_parser_after_head = true; html->repush_after_head = true; } } |