w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 09210ce392bfd987b20303a75a7090286c58b1ba
parent f5877bef559b5111a9ea1854aafd493e02aebf2f
Author: ukai <ukai>
Date:   Sat, 17 Jul 2004 15:28:58 +0000

[w3m-dev 04094] Re: option panel: gettextize select list
* rc.c (load_option_panel): don't gettext&wc_conv colorstr
				several times
From: WATANABE Katsuyuki <knabe@sannet.ne.jp>

Diffstat:
MChangeLog | 6++++++
Mrc.c | 6+++++-
2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,9 @@ +2004-07-18 WATANABE Katsuyuki <knabe@sannet.ne.jp> + + * [w3m-dev 04094] Re: option panel: gettextize select list + * rc.c (load_option_panel): don't gettext&wc_conv colorstr + several times + 2004-07-16 WATANABE Katsuyuki <knabe@sannet.ne.jp> * [w3m-dev 04093] bookmark charset diff --git a/rc.c b/rc.c @@ -1319,7 +1319,11 @@ load_option_panel(void) p->comment = wc_conv(_(p->comment), OptionCharset, InnerCharset)->ptr; - if (p->inputtype == PI_SEL_C) { + if (p->inputtype == PI_SEL_C +#ifdef USE_COLOR + && p->select != colorstr +#endif + ) { for (s = (struct sel_c *)p->select; s->text != NULL; s++) { s->text = wc_conv(_(s->text), OptionCharset,