Changed: Only put a space if several conditions

This commit is contained in:
kervala 2016-11-04 20:21:18 +01:00
parent 5a7d6b43e4
commit 8bb023850c

View file

@ -416,6 +416,10 @@ bool readPhraseFileFromString(ucstring const& doc, const std::string &filename,
phrase.Clauses.size()+1);
return false;
}
// only prepend a space if required
if (!clause.Conditions.empty()) clause.Conditions += " ";
clause.Conditions += "(" + cond + ")";
CI18N::skipWhiteSpace(first, last, &clause.Comments);
}