aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-25 16:05:08 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-25 16:05:08 +0000
commit04658e13e4bbf022916244049e36d8f6bf58dd5b (patch)
tree41e9fd585f5ed9dd8f62f1d6e4e06600cd56c19a
parent[w3m-dev 03598] restore cursor when download list panel is updated. (diff)
downloadw3m-04658e13e4bbf022916244049e36d8f6bf58dd5b.tar.gz
w3m-04658e13e4bbf022916244049e36d8f6bf58dd5b.zip
[w3m-dev 03600] Re: meta refresh
* main.c (main): move add_download_list From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-rw-r--r--ChangeLog7
-rw-r--r--main.c10
2 files changed, 11 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b07f2a..7d2bc24 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 03600] Re: meta refresh
+ * main.c (main): move add_download_list
+
2002-12-25 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03598] restore cursor when download list panel is updated.
@@ -6068,4 +6073,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.645 2002/12/24 17:33:31 ukai Exp $
+$Id: ChangeLog,v 1.646 2002/12/25 16:05:08 ukai Exp $
diff --git a/main.c b/main.c
index e6707e9..c339b5c 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.179 2002/12/24 17:33:31 ukai Exp $ */
+/* $Id: main.c,v 1.180 2002/12/25 16:05:08 ukai Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -979,6 +979,10 @@ main(int argc, char **argv, char **envp)
_goLine(line_str);
}
for (;;) {
+ if (add_download_list) {
+ add_download_list = FALSE;
+ ldDL();
+ }
if (Currentbuf->submit) {
Anchor *a = Currentbuf->submit;
Currentbuf->submit = NULL;
@@ -1068,10 +1072,6 @@ main(int argc, char **argv, char **envp)
save_buffer_position(Currentbuf);
keyPressEventProc((int)c);
prec_num = 0;
- if (add_download_list) {
- add_download_list = FALSE;
- ldDL();
- }
}
}
prev_key = CurrentKey;