Commit 96361b39 authored by Akihiro Sagawa's avatar Akihiro Sagawa Committed by Alexandre Julliard

wrc: Don't match a po message if a same msgid message is defined, but its msgctxt is null.

parent 81bbd17c
...@@ -364,7 +364,7 @@ static po_message_t find_message( po_file_t po, const char *msgid, const char *m ...@@ -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 (strcmp( po_message_msgid( msg ), msgid )) continue;
if (!msgctxt) break; if (!msgctxt) break;
if (!(context = po_message_msgctxt( msg ))) break; if (!(context = po_message_msgctxt( msg ))) continue;
if (!strcmp( context, msgctxt )) break; if (!strcmp( context, msgctxt )) break;
} }
return msg; return msg;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment