diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-16 03:58:49 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-16 03:58:49 +0000 |
commit | 6da73298fc1d2e2584c1c1adaf75bf640064eb38 (patch) | |
tree | 035c474a4c86579da037c1b467160abce1ca56d7 /file.c | |
parent | add ChangeLog (diff) | |
download | w3m-6da73298fc1d2e2584c1c1adaf75bf640064eb38.tar.gz w3m-6da73298fc1d2e2584c1c1adaf75bf640064eb38.zip |
[w3m-dev 02408] meta refresh
From: Tsutomu Okada <okada@furuno.co.jp>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.5 2001/11/16 03:33:28 ukai Exp $ */ +/* $Id: file.c,v 1.6 2001/11/16 03:58:49 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -3589,10 +3589,18 @@ HTMLtagproc1(struct parsed_tag *tag, struct html_feed_environ *h_env) refresh, cur_hseq++, q, q); push_str(obuf, s_tmp->length, tmp, PC_ASCII); flushline(h_env, obuf, envs[h_env->envc].indent, 0, h_env->limit); - if (!is_redisplay && refresh == 0) { + if (!is_redisplay && refresh == 0 && MetaRefresh) { pushEvent(FUNCNAME_goURL, s_tmp->ptr); /* pushEvent(deletePrevBuf,NULL); */ } +#ifdef USE_ALARM + else if (!is_redisplay && refresh > 0 && MetaRefresh) { + alarm_sec = refresh; + alarm_once = TRUE; + alarm_event.cmd = FUNCNAME_goURL; + alarm_event.user_data = s_tmp->ptr; + } +#endif } } return 1; |