summaryrefslogtreecommitdiffstats
path: root/g10/passphrase.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.com>2007-05-19 01:32:51 +0200
committerMarcus Brinkmann <mb@g10code.com>2007-05-19 01:32:51 +0200
commitbc078f97a9b70df133e2303e6eacf7b31eed74d6 (patch)
treeb71bdbe90454ef32497e5b9b0d5df57d1f336432 /g10/passphrase.c
parentagent/ (diff)
downloadgnupg2-bc078f97a9b70df133e2303e6eacf7b31eed74d6.tar.xz
gnupg2-bc078f97a9b70df133e2303e6eacf7b31eed74d6.zip
2007-05-19 Marcus Brinkmann <marcus@g10code.de>
* passphrase.c (passphrase_get): Use PACKAGE_GT, not PACKAGE.
Diffstat (limited to '')
-rw-r--r--g10/passphrase.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/passphrase.c b/g10/passphrase.c
index 83606b8ff..970e4d9a3 100644
--- a/g10/passphrase.c
+++ b/g10/passphrase.c
@@ -281,7 +281,7 @@ passphrase_get ( u32 *keyid, int mode, const char *cacheid,
#ifdef ENABLE_NLS
/* The Assuan agent protocol requires us to transmit utf-8 strings */
- orig_codeset = bind_textdomain_codeset (PACKAGE, NULL);
+ orig_codeset = bind_textdomain_codeset (PACKAGE_GT, NULL);
#ifdef HAVE_LANGINFO_CODESET
if (!orig_codeset)
orig_codeset = nl_langinfo (CODESET);
@@ -396,7 +396,7 @@ passphrase_get ( u32 *keyid, int mode, const char *cacheid,
#ifdef ENABLE_NLS
if (orig_codeset)
{
- bind_textdomain_codeset (PACKAGE, orig_codeset);
+ bind_textdomain_codeset (PACKAGE_GT, orig_codeset);
xfree (orig_codeset);
}
#endif