[svn] GnuPG - r4863 - trunk/jnlib
svn author wk
cvs at cvs.gnupg.org
Wed Oct 29 09:38:07 CET 2008
Author: wk
Date: 2008-10-29 09:38:07 +0100 (Wed, 29 Oct 2008)
New Revision: 4863
Modified:
trunk/jnlib/ChangeLog
trunk/jnlib/w32-gettext.c
Log:
Fix last chnage. Reported by Tom Pegios.
Modified: trunk/jnlib/ChangeLog
===================================================================
--- trunk/jnlib/ChangeLog 2008-10-28 15:00:23 UTC (rev 4862)
+++ trunk/jnlib/ChangeLog 2008-10-29 08:38:07 UTC (rev 4863)
@@ -1,3 +1,8 @@
+2008-10-29 Werner Koch <wk at g10code.com>
+
+ * w32-gettext.c (gettext): Return if no domain is loaded.
+ Reported by Tom Pegios.
+
2008-10-28 Werner Koch <wk at g10code.com>
* w32-gettext.c (gettext): Try the binary search if the string was
Modified: trunk/jnlib/w32-gettext.c
===================================================================
--- trunk/jnlib/w32-gettext.c 2008-10-28 15:00:23 UTC (rev 4862)
+++ trunk/jnlib/w32-gettext.c 2008-10-29 08:38:07 UTC (rev 4863)
@@ -1603,7 +1603,7 @@
size_t top, bottom;
if (!(domain = the_domain))
- goto not_found;
+ return msgid;
/* Locate the MSGID and its translation. */
if (domain->hash_size > 2 && domain->hash_tab)
More information about the Gnupg-commits
mailing list