aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/05-w3m-0.3.2.2-img-alt-fix-backport
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);