From 866b5c73150b0806159de43b176e896b2f6e576d Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Date: Thu, 24 Jun 2010 20:01:19 +0200 Subject: [PATCH] whitespace-trim test names inside if() --- src/shared/proparser/profileevaluator.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/proparser/profileevaluator.cpp b/src/shared/proparser/profileevaluator.cpp index 0a7e33665e9..c51d57cfcd6 100644 --- a/src/shared/proparser/profileevaluator.cpp +++ b/src/shared/proparser/profileevaluator.cpp @@ -2494,6 +2494,7 @@ ProFileEvaluator::Private::VisitReturn ProFileEvaluator::Private::evaluateCondit } if (!quoted && !parens && (isOp || d == ed)) { if (m_cumulative || (orOp != ret)) { + test = test.trimmed(); if (isFunc) ret = evaluateConditionalFunction(ProString(test), ProString(argsString, NoHash)); else -- GitLab