summaryrefslogtreecommitdiff
path: root/www/w3m/patches/patch-ad
blob: d800d64b8d17cc9406ac55c8a004cba6884e88c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
$NetBSD: patch-ad,v 1.6 2001/03/31 09:21:17 itojun Exp $

--- rc.c.orig	Fri Mar 23 10:51:04 2001
+++ rc.c	Fri Mar 30 21:07:29 2001
@@ -51,7 +51,7 @@
 #endif
 #define P_PIXELS   8
 
-#if LANG == JA
+#if KANJI_SYMBOL
 #define CMT_HELPER	 "³°Éô¥Ó¥å¡¼¥¢¤ÎÊÔ½¸"
 #define CMT_TABSTOP      "¥¿¥ÖÉý"
 #define CMT_PIXEL_PER_CHAR      "ʸ»úÉý (4.0...32.0)"
@@ -146,7 +146,7 @@
 #define CMT_PAGERLINE    "# of reserved line when w3m is used as a pager"
 #define CMT_HISTSIZE     "# of reserved URL"
 #define CMT_SAVEHIST     "Save URL history"
-/* #define CMT_KANJICODE    "Display Kanji Code" */
+#define CMT_KANJICODE    "Display Kanji Code"
 #define CMT_FRAME        "Automatic rendering of frame"
 #define CMT_TSELF        "use _self as default target"
 #define CMT_DISPLINK     "Automatic display of link URL"
@@ -184,7 +184,7 @@
 #define CMT_FTPPASS      "Password for FTP(use your mail address)"
 #define CMT_USERAGENT    "User-Agent"
 #define CMT_ACCEPTLANG   "Accept-Language"
-/* #define CMT_DOCUMENTCODE "Document Charset" */
+#define CMT_DOCUMENTCODE "Document Charset"
 #define CMT_WRAP         "Wrap search"
 #define CMT_VIEW_UNSEENOBJECTS "Display unseenobjects (e.g. bgimage) tag"
 #ifdef __EMX__
@@ -260,7 +260,7 @@
 #ifdef COLOR
 static struct sel_c colorstr[] =
 {
-#if LANG == JA
+#if KANJI_SYMBOL
     {0, "black", "¹õ"},
     {1, "red", "ÀÖ"},
     {2, "green", "ÎÐ"},
@@ -442,7 +442,7 @@
 
 struct param_section sections[] =
 {
-#if LANG == JA
+#if KANJI_SYMBOL
     {"ɽ¼¨´Ø·¸", params1},
 #ifdef COLOR
     {"ɽ¼¨¿§", params2},