mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
wrc: Fix lookup of strings that contain a context.
This commit is contained in:
parent
418af7eda9
commit
ceb26b809b
1 changed files with 1 additions and 1 deletions
|
@ -951,7 +951,7 @@ static const char *get_msgstr( const char *msgid, const char *context, int *foun
|
||||||
while (min <= max)
|
while (min <= max)
|
||||||
{
|
{
|
||||||
pos = (min + max) / 2;
|
pos = (min + max) / 2;
|
||||||
res = strcmp( get_mo_msgid(pos), msgid );
|
res = strcmp( get_mo_msgid(pos), id ? id : msgid );
|
||||||
if (!res)
|
if (!res)
|
||||||
{
|
{
|
||||||
const char *str = get_mo_msgstr( pos );
|
const char *str = get_mo_msgstr( pos );
|
||||||
|
|
Loading…
Reference in a new issue