summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxhe <xw897002528@gmail.com>2017-06-18 13:16:54 +0800
committerxhe <xw897002528@gmail.com>2017-06-18 13:19:54 +0800
commit7b4e3d16ce156aaf1909d2f8a2fac891b4cbc99f (patch)
tree5e42a3e7e00172dcf40000a62e9196604125e0ef
parent907bcb77d1bf1c6c46167c87a6c32445000a12ba (diff)
downloadgettext-tiny-7b4e3d16ce156aaf1909d2f8a2fac891b4cbc99f.tar.gz
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'.
-rw-r--r--src/poparser.c2
1 files changed, 1 insertions, 1 deletions
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;
}