[w3m-dev 04066] --disable-color

SAKAI Kiyotaka <[email protected]>
Newsgroups gmane.comp.web.w3m.devel
Message-ID <[email protected]>
w3m (http://mi.med.tohoku.ac.jp/%7Esatodai/w3m/bbs/spool/log.html)
--disable-color 


-- 
  (E-mail: [email protected])


Index: rc.c
===================================================================
RCS file: /cvsroot/w3m/w3m/rc.c,v
retrieving revision 1.95
diff -u -r1.95 rc.c
--- rc.c	22 Mar 2004 17:20:16 -0000	1.95
+++ rc.c	22 Apr 2004 02:07:41 -0000
@@ -1320,9 +1320,11 @@
 		    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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.