forked from qt-creator/qt-creator
TemplateEngine: Do not append trailing newline
Change-Id: I99731186ae1e14c79728ebc6c74a5b842cf25069 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user