an empty argument list is still a list with one empty argument

that's actually kinda braindead, but that's qmake as usual.
This commit is contained in:
Oswald Buddenhagen
2010-04-28 14:32:46 +02:00
parent d47b00fca8
commit 25e6890c93

View File

@@ -1829,7 +1829,7 @@ QStringList ProFileEvaluator::Private::expandVariableReferences(const QString &s
QStringList ret;
// if (ok)
// *ok = true;
if (str.isEmpty())
if (str.isEmpty() && !pos)
return ret;
const ushort LSQUARE = '[';