diff options
author | Dan McGee <dan@archlinux.org> | 2007-10-23 06:52:55 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-10-23 06:52:55 +0200 |
commit | 8b1fb61df26649e1dec626ef9120fc787a831fcc (patch) | |
tree | 399e6558ad5e9a4f8d283b771b1a9837254b32b7 /lib/libalpm/alpm.c | |
parent | 0c4f7d821c1cd4ce559476595e2108f75b3dde7c (diff) | |
download | pacman-8b1fb61df26649e1dec626ef9120fc787a831fcc.tar.gz pacman-8b1fb61df26649e1dec626ef9120fc787a831fcc.tar.xz |
Ensure all localization stuff is correctly guarded
Anything dealing with libintl and localization should be correctly guarded
inside an ENABLE_NLS block on both the pacman and libalpm sides.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.c')
-rw-r--r-- | lib/libalpm/alpm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index 20d4a746..7bbcc869 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -52,7 +52,10 @@ int SYMEXPORT alpm_initialize(void) if(handle == NULL) { RET_ERR(PM_ERR_MEMORY, -1); } + +#ifdef ENABLE_NLS bindtextdomain("libalpm", LOCALEDIR); +#endif return(0); } |