Fixed indentation

This commit is contained in:
johenning
2017-08-27 21:27:23 +02:00
committed by GitHub
parent 9e6888070d
commit 06fd003858

View File

@@ -745,13 +745,12 @@ Glib::ustring BatchQueue::calcAutoFileNameBase (const Glib::ustring& origFileNam
if (origFileName[0] == '/') {
pa.push_back ("/" + da[0]);
} else if (origFileName[0] == '\\') {
if (origFileName.size() > 1 && origFileName[1] == '\\') {
pa.push_back ("\\\\" + da[0]);
}
else {
pa.push_back ("/" + da[0]);
}
} else if (origFileName[0] == '\\') {
if (origFileName.size() > 1 && origFileName[1] == '\\') {
pa.push_back ("\\\\" + da[0]);
} else {
pa.push_back ("/" + da[0]);
}
} else {
pa.push_back (da[0]);
}