Commit 86412771 authored by Tobias Hunger's avatar Tobias Hunger

TemplateEngine: Do not append trailing newline

Change-Id: I99731186ae1e14c79728ebc6c74a5b842cf25069
Reviewed-by: default avatarDavid Schulz <david.schulz@theqtcompany.com>
parent ccd3bf0b
......@@ -211,8 +211,9 @@ bool PreprocessContext::process(const QString &in, QString *out, QString *errorM
break;
case OtherSection: // Rest: Append according to current condition.
if (top.condition) {
if (l != 0)
out->append(newLine);
out->append(lines.at(l));
out->append(newLine);
}
break;
} // switch section
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment