aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
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 /main.c
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>
Diffstat (limited to 'main.c')
-rw-r--r--main.c10
1 files changed, 5 insertions, 5 deletions
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;