fix indent

This commit is contained in:
Fumitoshi UKAI committed 2002-11-05 16:43:09 +00:00
1 parent 8f470bfe83
commit 98d6d29e7b
2 files changed
+14 -12

No files matched your search

+13 -11
View File
@@ -1,4 +1,4 @@
/* $Id: form.c,v 1.16 2002/11/05 16:03:14 ukai Exp $ */
/* $Id: form.c,v 1.17 2002/11/05 16:43:09 ukai Exp $ */
/*
* HTML forms
*/
@@ -708,7 +708,8 @@ add_pre_form_item(struct pre_form *pf, struct pre_form_item *prev, int type,
new->name = name;
new->value = value;
if (checked && *checked && (!strcmp(checked, "0") ||
strcasecmp(checked, "off") || !strcasecmp(checked, "no")))
strcasecmp(checked, "off")
|| !strcasecmp(checked, "no")))
new->checked = 0;
else
new->checked = 1;
@@ -717,14 +718,14 @@ add_pre_form_item(struct pre_form *pf, struct pre_form_item *prev, int type,
}
/*
url <url> [<action>]
text <name> <value>
file <name> <value>
passwd <name> <value>
checkbox <name> <value> [<checked>]
radio <name> <value>
submit [<name>]
*/
* url <url> [<action>]
* text <name> <value>
* file <name> <value>
* passwd <name> <value>
* checkbox <name> <value> [<checked>]
* radio <name> <value>
* submit [<name>]
*/
void
loadPreForm(void)
@@ -804,7 +805,8 @@ preFormUpdateBuffer(Buffer *buf)
a = &buf->formitem->anchors[i];
fi = (FormItemList *)a->url;
fl = fi->parent;
if (pf->action && (!fl->action || Strcmp_charp(fl->action, pf->action)))
if (pf->action
&& (!fl->action || Strcmp_charp(fl->action, pf->action)))
continue;
for (pi = pf->item; pi; pi = pi->next) {
if (pi->type != fi->type)
+1 -1
View File
@@ -1,4 +1,4 @@
/* $Id: table.c,v 1.28 2002/11/05 15:45:53 ukai Exp $ */
/* $Id: table.c,v 1.29 2002/11/05 16:43:10 ukai Exp $ */
/*
* HTML table
*/