diff options
author | xhe <xw897002528@gmail.com> | 2018-12-07 21:57:23 +0800 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2019-01-16 02:38:18 +0000 |
commit | b4c057ed629ecfb4973769b45b9ab7a9af3224ca (patch) | |
tree | 3763c79e7d0b04c7b76111ade98d6d6f2aaeec2b /src/poparser.h | |
parent | 29baed6eb3242e88465ac61b908ee4cac93d5cdc (diff) | |
download | gettext-tiny-b4c057ed629ecfb4973769b45b9ab7a9af3224ca.tar.gz |
msgfmt&poparser: correct length at str table
then length of str table does not include the NULL terminator while
translation includes.
Diffstat (limited to 'src/poparser.h')
-rw-r--r-- | src/poparser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/poparser.h b/src/poparser.h index a4409d3..7d7b419 100644 --- a/src/poparser.h +++ b/src/poparser.h @@ -15,6 +15,7 @@ enum sysdep_types { }; // make sure out has equal or more space than in +// this add the NULL terminator, but do not count it in size size_t poparser_sysdep(const char *in, char *out, int num); struct po_header { |