commit 80eea2bf51f633e61ce0fdbe39e82896fa7a23a8
parent f6daf95d5cf503d773f1e9a0d5a46d417976d938
Author: ukai <ukai>
Date: Thu, 22 Apr 2004 16:34:08 +0000
[w3m-dev 04066] --disable-color
* rc.c (load_option_panel): #ifdef USE_COLOR
From: SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git 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
diff --git a/rc.c b/rc.c
@@ -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