wrc: Fix lookup of strings that contain a context.

This commit is contained in:
Alexandre Julliard 2011-11-18 19:26:42 +01:00
parent 418af7eda9
commit ceb26b809b

View file

@ -951,7 +951,7 @@ static const char *get_msgstr( const char *msgid, const char *context, int *foun
while (min <= max)
{
pos = (min + max) / 2;
res = strcmp( get_mo_msgid(pos), msgid );
res = strcmp( get_mo_msgid(pos), id ? id : msgid );
if (!res)
{
const char *str = get_mo_msgstr( pos );