aboutsummaryrefslogtreecommitdiffstats
path: root/form.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-06 03:26:56 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-06 03:26:56 +0000
commit91b3b8a09bd4d5727e8825675411e2ab2793cb9b (patch)
tree616db0e79423535547231bd143d80c41ad4528b1 /form.c
parent[w3m-dev 03375] NULL check of CurrentTab (diff)
downloadw3m-91b3b8a09bd4d5727e8825675411e2ab2793cb9b.tar.gz
w3m-91b3b8a09bd4d5727e8825675411e2ab2793cb9b.zip
[w3m-dev 03377] sync_with_option
* etc.c (loadPassword): reset passwords * form.c (loadPreForm): reset PreForm * main.c (option_assigned): deleted (parse_proxy): deleted (MAIN): move initCookie(), setLocalCookie() after sync_with_option() delete parseURL for *_proxy s/WrapSearch/WrapDefault/ move initKeymap(), initMenu() after setupscreen() sync_with_option() after init_rc() * rc.c (pre_form_file): move in params9 (network settting) (sync_with_option): initKeymap(), initMenu() is done if fmInitialized (init_rc): delete sync_with_option() From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'form.c')
-rw-r--r--form.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/form.c b/form.c
index ed34fa1..bdaa08d 100644
--- a/form.c
+++ b/form.c
@@ -1,4 +1,4 @@
-/* $Id: form.c,v 1.17 2002/11/05 16:43:09 ukai Exp $ */
+/* $Id: form.c,v 1.18 2002/11/06 03:27:04 ukai Exp $ */
/*
* HTML forms
*/
@@ -735,11 +735,10 @@ loadPreForm(void)
struct pre_form *pf = NULL;
struct pre_form_item *pi = NULL;
+ PreForm = NULL;
fp = openSecretFile(pre_form_file);
- if (fp == NULL) {
- PreForm = NULL;
+ if (fp == NULL)
return;
- }
while (1) {
int type = 0;
char *p, *s, *arg;