summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxhe <xw897002528@gmail.com>2017-05-07 14:20:40 +0800
committerxhe <xw897002528@gmail.com>2017-05-07 14:20:40 +0800
commite51959b3ea5bedb684b394e37d68d2b916742836 (patch)
tree49f35736d932fcf519328e14cb36fe9e0535a487
parent59bbaf67e19a04564ade9c9725f9d6466289854f (diff)
downloadgettext-tiny-e51959b3ea5bedb684b394e37d68d2b916742836.tar.gz
fix for nplurals:
it's pure number now instead of one in ascii, 50 -> 2. i forgot to change this when i decided to translate nplurals in ascii to pure number.
-rw-r--r--src/poparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/poparser.c b/src/poparser.c
index 2d4bcef..bb81d8c 100644
--- a/src/poparser.c
+++ b/src/poparser.c
@@ -100,7 +100,7 @@ void poparser_init(struct po_parser *p, char* workbuf, size_t bufsize, poparser_
p->cbdata = cbdata;
*(p->info.charset) = 0;
// nplurals = 2 by default
- p->info.nplurals = 50;
+ p->info.nplurals = 2;
fuzzymark = 0;
}