aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/05-w3m-0.3.2.2-img-alt-fix-backport
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:03:29 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:03:29 +0000
commit9090972ad669cb40634a2d9e683953a4e20af34d (patch)
tree24c4d8d1765857bbb0b25d3f1123e602c300f04d /debian/patches/05-w3m-0.3.2.2-img-alt-fix-backport
parentReleasing debian version 0.1.10+0.1.11pre+kokb23-4 (diff)
downloadw3m-9090972ad669cb40634a2d9e683953a4e20af34d.tar.gz
w3m-9090972ad669cb40634a2d9e683953a4e20af34d.zip
Releasing debian version 0.3-2.4debian/0.3-2.4
Diffstat (limited to 'debian/patches/05-w3m-0.3.2.2-img-alt-fix-backport')
-rw-r--r--debian/patches/05-w3m-0.3.2.2-img-alt-fix-backport27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/05-w3m-0.3.2.2-img-alt-fix-backport b/debian/patches/05-w3m-0.3.2.2-img-alt-fix-backport
new file mode 100644
index 0000000..6b30c1c
--- /dev/null
+++ b/debian/patches/05-w3m-0.3.2.2-img-alt-fix-backport
@@ -0,0 +1,27 @@
+PATCH: -p1
+
+--- w3m-0.3/file.c Tue Mar 5 16:58:09 2002
++++ w3m-0.3-ja/file.c Thu Dec 5 17:30:30 2002
+@@ -2975,11 +2975,11 @@
+ Strcat_charp(tmp, html_quote(Strnew_charp_n(q, nw)->ptr));
+ }
+ else
+- Strcat_charp(tmp, q);
++ Strcat_charp(tmp, html_quote(q));
+ }
+ else
+ #endif
+- Strcat_charp(tmp, q);
++ Strcat_charp(tmp, html_quote(q));
+ goto img_end;
+ }
+ if (w > 0 && i > 0) {
+@@ -6105,7 +6105,7 @@
+ HTMLlineproc0(lineBuf2->ptr, &htmlenv1, internal);
+ }
+ if (obuf.status != R_ST_NORMAL)
+- HTMLlineproc1(correct_irrtag(obuf.status)->ptr, &htmlenv1);
++ HTMLlineproc0(correct_irrtag(obuf.status)->ptr, &htmlenv1, internal);
+ obuf.status = R_ST_NORMAL;
+ completeHTMLstream(&htmlenv1, &obuf);
+ flushline(&htmlenv1, &obuf, 0, 2, htmlenv1.limit);