From ea440109c71b8b7b74d35f05c6ec63493801f47c Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Sat, 19 May 2012 19:20:03 +0900 Subject: Assume "text" if an input type is unknown Patch from provided by Hilko Bengen. --- form.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'form.c') diff --git a/form.c b/form.c index b7556ca..250dead 100644 --- a/form.c +++ b/form.c @@ -196,7 +196,7 @@ formtype(char *typestr) if (!strcasecmp(typestr, _formtypetbl[i])) return i; } - return FORM_UNKNOWN; + return FORM_INPUT_TEXT; } void -- cgit v1.2.3