diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2004-07-17 15:28:58 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2004-07-17 15:28:58 +0000 |
commit | 8fb6d5aca533a9db76fc52f1d6379035636b380f (patch) | |
tree | c2f92a2d4ffc5725aeadc21beb6559e4964fb12c | |
parent | [w3m-dev 04093] bookmark charset (diff) | |
download | w3m-8fb6d5aca533a9db76fc52f1d6379035636b380f.tar.gz w3m-8fb6d5aca533a9db76fc52f1d6379035636b380f.zip |
[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 (limited to '')
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | rc.c | 8 |
2 files changed, 13 insertions, 3 deletions
@@ -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 @@ -8527,4 +8533,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.931 2004/07/15 16:44:37 ukai Exp $ +$Id: ChangeLog,v 1.932 2004/07/17 15:28:58 ukai Exp $ @@ -1,4 +1,4 @@ -/* $Id: rc.c,v 1.97 2004/07/15 16:26:04 ukai Exp $ */ +/* $Id: rc.c,v 1.98 2004/07/17 15:29:00 ukai Exp $ */ /* * Initialization file etc. */ @@ -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, |