diff options
Diffstat (limited to 'jnlib')
-rw-r--r-- | jnlib/ChangeLog | 5 | ||||
-rw-r--r-- | jnlib/w32-gettext.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/jnlib/ChangeLog b/jnlib/ChangeLog index 5da8927ff..e2cffe6d7 100644 --- a/jnlib/ChangeLog +++ b/jnlib/ChangeLog @@ -1,3 +1,8 @@ +2008-10-28 Werner Koch <[email protected]> + + * w32-gettext.c (gettext): Try the binary search if the string was + not found in the hash table. + 2008-10-20 Werner Koch <[email protected]> * w32-afunix.c (_w32_sock_connect): Mark ADDRLEN as unused. diff --git a/jnlib/w32-gettext.c b/jnlib/w32-gettext.c index dceabca20..5ff25439f 100644 --- a/jnlib/w32-gettext.c +++ b/jnlib/w32-gettext.c @@ -1647,6 +1647,7 @@ gettext( const char *msgid ) /*NOTREACHED*/ } + not_found: /* Now we try the default method: binary search in the sorted array of messages. */ bottom = 0; @@ -1667,7 +1668,6 @@ gettext( const char *msgid ) return get_string (domain, act); } - not_found: return msgid; } |