aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-04-07 15:23:57 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-04-07 15:23:57 +0000
commit4a52f3f994cfd90b7bb06fc9ede3a7d6a039142c (patch)
treea96fdbdadb32d83ee84fb4ecee110e7b4f6ffed6 /main.c
parent[w3m-dev 03844] w3mhelp.cgi update (diff)
downloadw3m-4a52f3f994cfd90b7bb06fc9ede3a7d6a039142c.tar.gz
w3m-4a52f3f994cfd90b7bb06fc9ede3a7d6a039142c.zip
[w3m-dev 03846] fix use_history
* main.c (main): move loadHistory From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/main.c b/main.c
index df04964..7b26a21 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.220 2003/04/06 16:27:54 ukai Exp $ */
+/* $Id: main.c,v 1.221 2003/04/07 15:24:01 ukai Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -409,10 +409,6 @@ main(int argc, char **argv, char **envp)
ShellHist = newHist();
TextHist = newHist();
URLHist = newHist();
-#ifdef USE_HISTORY
- if (UseHistory)
- loadHistory(URLHist);
-#endif /* not USE_HISTORY */
if (!non_null(HTTP_proxy) &&
((p = getenv("HTTP_PROXY")) ||
@@ -747,6 +743,10 @@ main(int argc, char **argv, char **envp)
initCookie();
#endif /* USE_COOKIE */
setLocalCookie(); /* setup cookie for local CGI */
+#ifdef USE_HISTORY
+ if (UseHistory)
+ loadHistory(URLHist);
+#endif /* not USE_HISTORY */
if (w3m_backend)
backend();