Msgfmt: Fix for generating .mo files from .po without comments

This commit is contained in:
Sergey Sharybin 2015-06-13 14:04:47 +02:00
parent 60ddaf045a
commit 38a60418f7

@ -316,6 +316,10 @@ void make(const char *input_file_name,
// Skip empty lines.
l = trim(l);
if (l.empty()) {
if (section == SECTION_STR) {
msgctxt = msgid = msgstr = "";
section = SECTION_NONE;
}
continue;
}
l = unescape(l);