Skip to content
Permalink
Browse files

expression: and put blank in front of WHEN too (followup 1844d91)

  • Loading branch information
jef-n committed Feb 26, 2014
1 parent 1d84978 commit d78e05c50a66e0be2e604d922e972d63c82d754f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgsexpression.cpp
@@ -2337,10 +2337,10 @@ bool QgsExpression::NodeCondition::prepare( QgsExpression* parent, const QgsFiel

QString QgsExpression::NodeCondition::dump() const
{
QString msg = QString( "CASE " );
QString msg = QString( "CASE" );
foreach ( WhenThen* cond, mConditions )
{
msg += QString( "WHEN %1 THEN %2" ).arg( cond->mWhenExp->dump() ).arg( cond->mThenExp->dump() );
msg += QString( " WHEN %1 THEN %2" ).arg( cond->mWhenExp->dump() ).arg( cond->mThenExp->dump() );
}
if ( mElseExp )
msg += QString( " ELSE %1" ).arg( mElseExp->dump() );

0 comments on commit d78e05c

Please sign in to comment.
You can’t perform that action at this time.