From 7b4e3d16ce156aaf1909d2f8a2fac891b4cbc99f Mon Sep 17 00:00:00 2001 From: xhe Date: Sun, 18 Jun 2017 13:16:54 +0800 Subject: more strict check for fuzzy marks In ki18n/cy-ver, fuzzy appeared just at the first several lines, which is making msgfmt see header as 'the obsolete'. --- src/poparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/poparser.c b/src/poparser.c index 89d0046..9f10755 100644 --- a/src/poparser.c +++ b/src/poparser.c @@ -17,7 +17,7 @@ static enum po_entry get_type_and_start(struct po_info *info, char* lp, char* en while(isspace(*lp) && lp < end) lp++; if(lp[0] == '#') { char *s; - if(s = strstr(lp, "fuzzy")) { + if(s = strstr(lp, ", fuzzy")) { if(fuzzymark != 0) fuzzymark++; else fuzzymark=2; } -- cgit v1.2.1