From f640df4342e2418e023e2c6a7d52fca2d5540022 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Fri, 15 Nov 2002 16:48:14 +0000 Subject: [PATCH] [w3m-dev 03442] Re: setting form on loading * form.c (preFormUpdateBuffer): ifdef MENU_SELECT From: Fumitoshi UKAI --- ChangeLog | 7 ++++++- form.c | 7 +++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index fb09ae5..7cd9d95 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-11-16 Fumitoshi UKAI + + * [w3m-dev 03442] Re: setting form on loading + * form.c (preFormUpdateBuffer): ifdef MENU_SELECT + 2002-11-16 Hironori SAKAMOTO * [w3m-dev 03441] charset of save file @@ -4821,4 +4826,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.525 2002/11/15 16:46:07 ukai Exp $ +$Id: ChangeLog,v 1.526 2002/11/15 16:48:14 ukai Exp $ diff --git a/form.c b/form.c index cc7a374..1c27f3b 100644 --- a/form.c +++ b/form.c @@ -1,4 +1,4 @@ -/* $Id: form.c,v 1.23 2002/11/15 15:19:44 ukai Exp $ */ +/* $Id: form.c,v 1.24 2002/11/15 16:48:14 ukai Exp $ */ /* * HTML forms */ @@ -815,11 +815,14 @@ preFormUpdateBuffer(Buffer *buf) { struct pre_form *pf; struct pre_form_item *pi; - int i, j; + int i; Anchor *a; FormList *fl; FormItemList *fi; +#ifdef MENU_SELECT FormSelectOptionItem *opt; + int j; +#endif if (!buf || !buf->formitem || !PreForm) return;