aboutsummaryrefslogtreecommitdiffstats
path: root/util/simple-gettext.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-10-30 22:49:09 +0000
committerWerner Koch <[email protected]>2004-10-30 22:49:09 +0000
commit36ca1121b5ce0794379d4272a97a849f454795a3 (patch)
tree31df87b5e68e75baf4f03d29c20328d41df89aea /util/simple-gettext.c
parent* skclist.c (build_sk_list): Don't need to warn about PGP-generated (diff)
downloadgnupg-36ca1121b5ce0794379d4272a97a849f454795a3.tar.gz
gnupg-36ca1121b5ce0794379d4272a97a849f454795a3.zip
(get_string): Removed debugging hack.
Diffstat (limited to 'util/simple-gettext.c')
-rw-r--r--util/simple-gettext.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/simple-gettext.c b/util/simple-gettext.c
index 7705b5d1c..8ec6aba16 100644
--- a/util/simple-gettext.c
+++ b/util/simple-gettext.c
@@ -306,14 +306,13 @@ get_string( struct loaded_domain *domain, u32 idx )
{
size_t plen, buflen;
char *buf;
- static int debug_hack;
domain->mapped[idx] = 1;
plen = strlen (p);
buf = utf8_to_native (p, plen, -1);
buflen = strlen (buf);
- if (buflen <= plen && (++debug_hack %3))
+ if (buflen <= plen)
strcpy (p, buf);
else
{