Skip to content

Commit

Permalink
Merge pull request #1057 from elpaso/master
Browse files Browse the repository at this point in the history
Fix #9306
  • Loading branch information
jef-n committed Jan 7, 2014
2 parents 0b10498 + 6eb72c7 commit 8215183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapserver/qgswmsserver.cpp
Expand Up @@ -2174,7 +2174,7 @@ void QgsWMSServer::applyOpacities( const QStringList& layerList, QList< QPair< Q
QList< QPair< QgsMapLayer*, int > > layerOpacityList;
QStringList::const_iterator oIt = opacityList.constBegin();
QStringList::const_iterator lIt = layerList.constBegin();
for ( ; oIt != opacityList.constEnd(); ++oIt, ++lIt )
for ( ; oIt != opacityList.constEnd() && lIt != layerList.constEnd(); ++oIt, ++lIt )
{
//get layer list for
int opacity = oIt->toInt();
Expand Down

0 comments on commit 8215183

Please sign in to comment.