diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-04-07 15:23:57 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-04-07 15:23:57 +0000 |
commit | 4a52f3f994cfd90b7bb06fc9ede3a7d6a039142c (patch) | |
tree | a96fdbdadb32d83ee84fb4ecee110e7b4f6ffed6 /main.c | |
parent | [w3m-dev 03844] w3mhelp.cgi update (diff) | |
download | w3m-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.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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(); |