diff options
author | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-09-17 04:11:39 +0200 |
---|---|---|
committer | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-09-17 04:11:39 +0200 |
commit | 05088ee6db16aba98ca305eb034bb90be7348fca (patch) | |
tree | 2068ed407b823d32cacda5591163232df2103147 /lib | |
parent | fcbe2c86ef008ca58dbc0149f880b1e4a2eb7213 (diff) | |
download | rpm-05088ee6db16aba98ca305eb034bb90be7348fca.tar.gz rpm-05088ee6db16aba98ca305eb034bb90be7348fca.tar.bz2 rpm-05088ee6db16aba98ca305eb034bb90be7348fca.zip |
Add if defined(ENABLE_NLS) guards around i18n-initialization.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/poptALL.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/poptALL.c b/lib/poptALL.c index 73dd2a44d..cd973d899 100644 --- a/lib/poptALL.c +++ b/lib/poptALL.c @@ -332,6 +332,7 @@ rpmcliInit(int argc, char *const argv[], struct poptOption * optionsTable) #if defined(ENABLE_NLS) (void) setlocale(LC_ALL, "" ); + (void) bindtextdomain(PACKAGE, LOCALEDIR); (void) textdomain(PACKAGE); #endif |