summaryrefslogtreecommitdiff
path: root/lib/gnutls_global.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-04-03 15:20:09 +0200
committerSimon Josefsson <simon@josefsson.org>2009-04-03 15:20:09 +0200
commit258d2e873f61d5543c674f46a6247b4a379d2cca (patch)
tree0cf19530ff06d701c57a28c3a568fd87079c8c62 /lib/gnutls_global.c
parente9af4c3d2a4f8d74692ec3025a4502b81ac5f18a (diff)
downloadgnutls-258d2e873f61d5543c674f46a6247b4a379d2cca.tar.gz
Fix bindtextdomain call.
Diffstat (limited to 'lib/gnutls_global.c')
-rw-r--r--lib/gnutls_global.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/gnutls_global.c b/lib/gnutls_global.c
index 68ec494994..ae39229ab7 100644
--- a/lib/gnutls_global.c
+++ b/lib/gnutls_global.c
@@ -201,9 +201,7 @@ gnutls_global_init (void)
if (gl_sockets_startup (SOCKETS_1_1))
return GNUTLS_E_LIBRARY_VERSION_MISMATCH;
-#if ENABLE_NLS
- bindtextdomain ("gnutls", LOCALEDIR);
-#endif
+ bindtextdomain (PACKAGE, LOCALEDIR);
/* Initialize libgcrypt if it hasn't already been initialized. */
if (gcry_control (GCRYCTL_ANY_INITIALIZATION_P) == 0)