aboutsummaryrefslogtreecommitdiffstats
path: root/form.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2012-05-19 10:20:03 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2012-05-19 10:20:03 +0000
commitea440109c71b8b7b74d35f05c6ec63493801f47c (patch)
tree128bc7e42d18269d983f8c4ef8222b914a40ece3 /form.c
parentMerge branch 'bug/use-cppflags' (diff)
downloadw3m-ea440109c71b8b7b74d35f05c6ec63493801f47c.tar.gz
w3m-ea440109c71b8b7b74d35f05c6ec63493801f47c.zip
Assume "text" if an input type is unknown
Patch from <http://bugs.debian.org/615843> provided by Hilko Bengen.
Diffstat (limited to '')
-rw-r--r--form.c2
1 files changed, 1 insertions, 1 deletions
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