Module: wine Branch: master Commit: 96361b39518e128a8f9f25524f1cf107242cb415 URL: http://source.winehq.org/git/wine.git/?a=commit;h=96361b39518e128a8f9f25524f...
Author: Akihiro Sagawa sagawa.aki@gmail.com Date: Sun Jan 30 00:39:32 2011 +0900
wrc: Don't match a po message if a same msgid message is defined, but its msgctxt is null.
---
tools/wrc/po.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/wrc/po.c b/tools/wrc/po.c index d7aabc5..ef1e9f2 100644 --- a/tools/wrc/po.c +++ b/tools/wrc/po.c @@ -364,7 +364,7 @@ static po_message_t find_message( po_file_t po, const char *msgid, const char *m { if (strcmp( po_message_msgid( msg ), msgid )) continue; if (!msgctxt) break; - if (!(context = po_message_msgctxt( msg ))) break; + if (!(context = po_message_msgctxt( msg ))) continue; if (!strcmp( context, msgctxt )) break; } return msg;