Style fixes - separte commands - remove 2 ; - align { elses

This commit is contained in:
Kurt Hindenburg
2012-03-18 15:57:48 -04:00
parent 8e1bbce132
commit e0862c603a
14 changed files with 56 additions and 54 deletions

View File

@@ -112,10 +112,9 @@ static bool expandEnv(QString& text)
//
if (pos > 0 && text.at(pos - 1) == QLatin1Char('\\')) {
pos++;
}
// Variable found => expand
//
else {
} else {
// Find the end of the variable = next '/' or ' '
//
int pos2 = text.indexOf(QLatin1Char(' '), pos + 1);