aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/430_no-ascii-default.patch
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2014-12-06 09:04:48 +0000
committerTatsuya Kinoshita <tats@debian.org>2014-12-06 09:04:48 +0000
commitdbde37311e4981decc95b3f6a98f2c8ff7a82a0d (patch)
tree233ecd74dccd904e1fec086ed1e4ec5f43445da2 /debian/patches/430_no-ascii-default.patch
parentNew patch 420_uninitialized.patch to fix uninitialized variables (diff)
downloadw3m-dbde37311e4981decc95b3f6a98f2c8ff7a82a0d.tar.gz
w3m-dbde37311e4981decc95b3f6a98f2c8ff7a82a0d.zip
New patch 430_no-ascii-default.patch to set alt_entity=0 by default
Diffstat (limited to '')
-rw-r--r--debian/patches/430_no-ascii-default.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/430_no-ascii-default.patch b/debian/patches/430_no-ascii-default.patch
new file mode 100644
index 0000000..83d196f
--- /dev/null
+++ b/debian/patches/430_no-ascii-default.patch
@@ -0,0 +1,21 @@
+Subject: Change the default to alt_entity=0
+Author: Olaf Dabrunz <od@suse.de>
+Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-0.5.1-no-ASCII-equivalents-by-default.patch?expand=1
+Bug-Novell: https://bugzilla.novell.com/show_bug.cgi?id=247397
+
+ change the default for the option "Use ASCII equivalents to
+ display entities" from YES to NO.
+
+diff --git a/fm.h b/fm.h
+index 149a02f..49af0e4 100644
+--- a/fm.h
++++ b/fm.h
+@@ -1089,7 +1089,7 @@ global char SimplePreserveSpace init(FALSE);
+ #define wc_Str_conv(x,charset0,charset1) (x)
+ #define wc_Str_conv_strict(x,charset0,charset1) (x)
+ #endif
+-global char UseAltEntity init(TRUE);
++global char UseAltEntity init(FALSE);
+ #define GRAPHIC_CHAR_ASCII 2
+ #define GRAPHIC_CHAR_DEC 1
+ #define GRAPHIC_CHAR_CHARSET 0