File w3m-0.5.1-no-ASCII-equivalents-by-default.patch of Package w3m

This patch changes the default for the option "Use ASCII equivalents to display
entities" from YES to NO.

Existing w3m "config" files need to be changed manually though. This can be
done by changing the alt_entity flag to 0 with an editor or by changing the
option with the w3m option dialog, accessible by pressing "o".

 fm.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: fm.h
--- fm.h.orig	2007-02-16 14:27:28.000000000 +0100
+++ fm.h	2007-02-16 14:33:36.000000000 +0100
@@ -1030,7 +1030,7 @@ global char SearchConv init(TRUE);
 #define wc_Str_conv(x,charset0,charset1) (x)
 #define wc_Str_conv_strict(x,charset0,charset1) (x)
-global char UseAltEntity init(TRUE);
+global char UseAltEntity init(FALSE);
 global char UseGraphicChar init(FALSE);
 extern char *graph_symbol[];
 extern char *graph2_symbol[];
openSUSE Build Service is sponsored by