Skip to content

Commit

Permalink
Fix another parameter check in server code
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jun 16, 2014
1 parent 47cf096 commit 42d14d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapserver/qgswmsserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ void QgsWMSServer::legendParameters( double mmToPixelFactor, double fontOversamp
QMap<QString, QString>::const_iterator itemLabelIt = mParameters.find( "RULELABEL" );
if ( itemLabelIt != mParameters.constEnd() )
{
mDrawLegendItemLabel = itemLabelIt.value().compare( "TRUE", Qt::CaseInsensitive );
mDrawLegendItemLabel = ( itemLabelIt.value().compare( "TRUE", Qt::CaseInsensitive ) == 0 );
}
else
{
Expand Down

0 comments on commit 42d14d7

Please sign in to comment.