aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2004-04-22 16:34:08 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2004-04-22 16:34:08 +0000
commitb0e00c1c8f7ace7a592c7663fd59bd0004f3a9bc (patch)
treeb8a83562d1b340281a2565984e7f63fcc7dbd578
parentbuild error for --enable-m17n --disable-unicode (diff)
downloadw3m-b0e00c1c8f7ace7a592c7663fd59bd0004f3a9bc.tar.gz
w3m-b0e00c1c8f7ace7a592c7663fd59bd0004f3a9bc.zip
[w3m-dev 04066] --disable-color
* rc.c (load_option_panel): #ifdef USE_COLOR From: SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>
-rw-r--r--ChangeLog7
-rw-r--r--rc.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index dec7b42..40ded62 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-23 SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>
+
+ * [w3m-dev 04066] --disable-color
+ * rc.c (load_option_panel): #ifdef USE_COLOR
+
2004-04-22 Masao Uebayashi <uebayasi@pultek.co.jp>
* fix build error for --enable-m17n --disable-unicode
@@ -8448,4 +8453,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.920 2004/04/21 16:42:17 ukai Exp $
+$Id: ChangeLog,v 1.921 2004/04/22 16:34:08 ukai Exp $
diff --git a/rc.c b/rc.c
index 38bbc02..1d14949 100644
--- a/rc.c
+++ b/rc.c
@@ -1,4 +1,4 @@
-/* $Id: rc.c,v 1.95 2004/03/22 17:20:16 ukai Exp $ */
+/* $Id: rc.c,v 1.96 2004/04/22 16:34:08 ukai Exp $ */
/*
* Initialization file etc.
*/
@@ -1320,9 +1320,11 @@ load_option_panel(void)
wc_conv(gettext(p->comment), OptionCharset,
InnerCharset)->ptr;
}
+#ifdef USE_COLOR
for (s = colorstr; s->text; s++)
s->text = wc_conv(gettext(s->text), OptionCharset,
InnerCharset)->ptr;
+#endif
OptionEncode = TRUE;
}
#endif