From 91b3b8a09bd4d5727e8825675411e2ab2793cb9b Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Wed, 6 Nov 2002 03:26:56 +0000 Subject: [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 --- form.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'form.c') 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; -- cgit v1.2.3