From 0ea27c6ad8972d4f425e785ff79353d4fd737fc7 Mon Sep 17 00:00:00 2001 From: Akihiro Sagawa Date: Fri, 11 Feb 2011 21:02:29 +0900 Subject: [PATCH] wmc: Update PO message match algorithm. --- tools/wmc/po.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/wmc/po.c b/tools/wmc/po.c index 414e4a66049..06b5bc7dc64 100644 --- a/tools/wmc/po.c +++ b/tools/wmc/po.c @@ -355,7 +355,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;