From 825018b1ba393cdf28825d5b722b1bc8148882ae Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Tue, 5 Nov 2002 15:56:11 +0000 Subject: [w3m-dev 03373] setting form on loading * config.h.dist (PRE_FORM_FILE): added * configure (PRE_FORM_FILE): added * etc.c (openPasswdFile): define by openSecretFile() (openSecretFile): renamed, not static * file.c (loadGeneralFile): preFOrmUpdateBuffer() * fm.h (Buffer): add submit (pre_form_file): added * form.c (struct pre_form_item): added (struct pre_form): added (next_token): added (PreForm): added (add_pre_form): added (add_pre_form_item): added (loadPreForm): added (preFormUpdateBuffer): added * frame.c (renderFrame): add preFormUpdateBuffer() * main.c (MAIN): buf->submit check * proto.h (preFormUpdateBuffer): added (openSecretFile): added (loadPreForm): added * rc.c (sync_with_option): add loadPreForm() From: Hironori SAKAMOTO --- rc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rc.c') diff --git a/rc.c b/rc.c index 4531298..4cea82e 100644 --- a/rc.c +++ b/rc.c @@ -1,4 +1,4 @@ -/* $Id: rc.c,v 1.54 2002/10/28 17:09:29 ukai Exp $ */ +/* $Id: rc.c,v 1.55 2002/11/05 15:56:14 ukai Exp $ */ /* * Initialization file etc. */ @@ -1240,6 +1240,7 @@ sync_with_option(void) displayImage = FALSE; /* XXX */ #endif loadPasswd(); + loadPreForm(); if (AcceptLang == NULL || *AcceptLang == '\0') { #if LANG == JA -- cgit v1.2.3