Fix last chnage. Reported by Tom Pegios.

This commit is contained in:
Werner Koch 2008-10-29 08:38:07 +00:00
parent 028327d827
commit d68deedb30
2 changed files with 6 additions and 1 deletions

View File

@ -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>
* w32-gettext.c (gettext): Try the binary search if the string was

View File

@ -1603,7 +1603,7 @@ gettext( const char *msgid )
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)