aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2012-05-19 10:08:03 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2012-05-19 10:08:03 +0000
commitd964d3f39b74aab7b554d83a6d906926530c57ea (patch)
tree9c3f37062f7768c98396d51e20350e91b2f46545
parentUse charset for mailcap (closes: #282784) (diff)
downloadw3m-d964d3f39b74aab7b554d83a6d906926530c57ea.tar.gz
w3m-d964d3f39b74aab7b554d83a6d906926530c57ea.zip
Assume "text" if an input type is unknown (closes: #615843)
Patch from <http://bugs.debian.org/615843> provided by Hilko Bengen.
Diffstat (limited to '')
-rw-r--r--debian/patches/110_form-input-text.patch15
-rw-r--r--debian/patches/series1
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/110_form-input-text.patch b/debian/patches/110_form-input-text.patch
new file mode 100644
index 0000000..d5c09f3
--- /dev/null
+++ b/debian/patches/110_form-input-text.patch
@@ -0,0 +1,15 @@
+Description: Assume "text" if an input type is unknown
+Author: Hilko Bengen <bengen@debian.org>
+Bug-Debian: http://bugs.debian.org/615843
+
+--- w3m-git.orig/form.c 2011-02-28 15:03:36.000000000 +0100
++++ w3m-git/form.c 2011-02-28 15:32:33.000000000 +0100
+@@ -196,7 +196,7 @@
+ if (!strcasecmp(typestr, _formtypetbl[i]))
+ return i;
+ }
+- return FORM_UNKNOWN;
++ return FORM_INPUT_TEXT;
+ }
+
+ void
diff --git a/debian/patches/series b/debian/patches/series
index b106e0a..2d4e4d7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@
080_gc72.patch
090_parallel-make.patch
100_use-cppflags.patch
+110_form-input-text.patch