From a1ca0c89e082403a68490a529024e3d1822e37e9 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Mon, 2 Aug 2004 15:40:50 +0000 Subject: [w3m-dev 04095] build fix when configure with --enable-messagel10n * main.c (main): locale and textdomain initialization if ENABLE_NLS * menu.c (initMenu): use _() instead of gettext() * rc.c (show_params): use _() instead of gettext() From: WATANABE Katsuyuki --- rc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rc.c') diff --git a/rc.c b/rc.c index b26faad..1b3e496 100644 --- a/rc.c +++ b/rc.c @@ -1,4 +1,4 @@ -/* $Id: rc.c,v 1.98 2004/07/17 15:29:00 ukai Exp $ */ +/* $Id: rc.c,v 1.99 2004/08/02 15:40:50 ukai Exp $ */ /* * Initialization file etc. */ @@ -793,7 +793,7 @@ show_params(FILE * fp) #ifdef USE_M17N if (!OptionEncode) cmt = - wc_conv(gettext(sections[j].name), OptionCharset, + wc_conv(_(sections[j].name), OptionCharset, InnerCharset)->ptr; else #endif @@ -839,7 +839,7 @@ show_params(FILE * fp) } #ifdef USE_M17N if (!OptionEncode) - cmt = wc_conv(gettext(sections[j].params[i].comment), + cmt = wc_conv(_(sections[j].params[i].comment), OptionCharset, InnerCharset)->ptr; else #endif -- cgit v1.2.3