commit | ceb26b809bf1a88a5954fa38c91cf11b4781cd0d | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Fri Nov 18 19:26:42 2011 +0100 |
committer | Alexandre Julliard <julliard@winehq.org> | Fri Nov 18 19:26:42 2011 +0100 |
tree | dba429e1d3353d03378e602722587755d0659d02 | |
parent | 418af7eda90715b6bb75adb9325c9be963ffcf3b [diff] |
wrc: Fix lookup of strings that contain a context.
diff --git a/tools/wrc/po.c b/tools/wrc/po.c index 1882d78..ffb584f 100644 --- a/tools/wrc/po.c +++ b/tools/wrc/po.c
@@ -951,7 +951,7 @@ 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 );