aboutsummaryrefslogtreecommitdiffstats
path: root/rc.c
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 /rc.c
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>
Diffstat (limited to '')
-rw-r--r--rc.c4
1 files changed, 3 insertions, 1 deletions
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