mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
Fix last chnage. Reported by Tom Pegios.
This commit is contained in:
parent
028327d827
commit
d68deedb30
@ -1,3 +1,8 @@
|
|||||||
|
2008-10-29 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
|
* w32-gettext.c (gettext): Return if no domain is loaded.
|
||||||
|
Reported by Tom Pegios.
|
||||||
|
|
||||||
2008-10-28 Werner Koch <wk@g10code.com>
|
2008-10-28 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* w32-gettext.c (gettext): Try the binary search if the string was
|
* w32-gettext.c (gettext): Try the binary search if the string was
|
||||||
|
@ -1603,7 +1603,7 @@ gettext( const char *msgid )
|
|||||||
size_t top, bottom;
|
size_t top, bottom;
|
||||||
|
|
||||||
if (!(domain = the_domain))
|
if (!(domain = the_domain))
|
||||||
goto not_found;
|
return msgid;
|
||||||
|
|
||||||
/* Locate the MSGID and its translation. */
|
/* Locate the MSGID and its translation. */
|
||||||
if (domain->hash_size > 2 && domain->hash_tab)
|
if (domain->hash_size > 2 && domain->hash_tab)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user