Commit eb4a0018 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix 'Windows Mac linefeeds exchanged in codegeneration'.

FIXED-IN:2.21.80 (KDE Applications 17.03.80)
parent 1e48acba
......@@ -222,10 +222,10 @@ void CodeGenerationPolicy::setLineEndingType (NewLineType type)
Settings::optionState().codeGenerationState.lineEndingType = type;
switch (Settings::optionState().codeGenerationState.lineEndingType) {
case MAC:
case DOS:
m_lineEndingChars = QString(QLatin1String("\r\n"));
case DOS:
case MAC:
m_lineEndingChars = QString(QLatin1String("\r"));
case UNIX:
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