Assume "text" if an input type is unknown

Patch from <http://bugs.debian.org/615843> provided by Hilko Bengen.
This commit is contained in:
Tatsuya Kinoshita
2012-05-19 19:20:03 +09:00
parent a74f840f88
commit ea440109c7

2
form.c
View File

@@ -196,7 +196,7 @@ formtype(char *typestr)
if (!strcasecmp(typestr, _formtypetbl[i]))
return i;
}
return FORM_UNKNOWN;
return FORM_INPUT_TEXT;
}
void