Akihiro Sagawa : wmc: Update PO message match algorithm.

Alexandre Julliard julliard at winehq.org
Mon Feb 14 10:02:06 CST 2011


Module: wine
Branch: master
Commit: 0ea27c6ad8972d4f425e785ff79353d4fd737fc7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0ea27c6ad8972d4f425e785ff79353d4fd737fc7

Author: Akihiro Sagawa <sagawa.aki at gmail.com>
Date:   Fri Feb 11 21:02:29 2011 +0900

wmc: Update PO message match algorithm.

---

 tools/wmc/po.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/wmc/po.c b/tools/wmc/po.c
index 414e4a6..06b5bc7 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;




More information about the wine-cvs mailing list