diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-12-14 15:28:37 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-12-14 15:28:37 +0000 |
commit | 74940c5a0d1edaf008fc0c0ccb6e0d169c3b45bf (patch) | |
tree | 7034c1383235571a2eed8ab596c0a2625bc267d3 | |
parent | fix indent (diff) | |
download | w3m-74940c5a0d1edaf008fc0c0ccb6e0d169c3b45bf.tar.gz w3m-74940c5a0d1edaf008fc0c0ccb6e0d169c3b45bf.zip |
[w3m-dev 03570] meta tag in frame
* frame.c (createFrameFile): fix meta equiv parse in frame
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | frame.c | 12 |
2 files changed, 12 insertions, 7 deletions
@@ -1,5 +1,10 @@ 2002-12-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * [w3m-dev 03570] meta tag in frame + * frame.c (createFrameFile): fix meta equiv parse in frame + +2002-12-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * [w3m-dev 03569] Re: preserve timestamp * file.c (loadGeneralFile): PresetveTimestamp (_doFileCopy): is_pipe, PreserveTimestamp @@ -5858,4 +5863,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.620 2002/12/14 15:24:03 ukai Exp $ +$Id: ChangeLog,v 1.621 2002/12/14 15:28:37 ukai Exp $ @@ -1,4 +1,4 @@ -/* $Id: frame.c,v 1.26 2002/12/06 16:38:05 ukai Exp $ */ +/* $Id: frame.c,v 1.27 2002/12/14 15:28:37 ukai Exp $ */ #include "fm.h" #include "parsetagx.h" #include "myctype.h" @@ -694,11 +694,11 @@ createFrameFile(struct frameset *f, FILE * f1, Buffer *current, int level, fprintf(f1, "<!-- %s -->", html_quote(tok->ptr)); goto token_end; case HTML_META: - parsedtag_get_value(tag, ATTR_HTTP_EQUIV, &q); - if (q && !strcasecmp(q, "refresh")) { - parsedtag_get_value(tag, ATTR_CONTENT, &q); - if (q) { - Str s_tmp; + if (parsedtag_get_value(tag, ATTR_HTTP_EQUIV, &q) + && !strcasecmp(q, "refresh")) { + if (parsedtag_get_value(tag, ATTR_CONTENT, &q) + ) { + Str s_tmp = NULL; int refresh_interval = getMetaRefreshParam(q, &s_tmp); if (s_tmp) { |