Skip to content

Commit

Permalink
fix build (followup 6de2828)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 24, 2015
1 parent 04ff46f commit 85c811b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -598,7 +598,7 @@ QImage *QgsWmsProvider::draw( QgsRectangle const &viewExtent, int pixelWidth, in

tileMode = mTileLayer->tileMode;
}
else if ( mSettings.mMaxWidth != 0 && mSettings.mMaxHeight && != 0 )
else if ( mSettings.mMaxWidth != 0 && mSettings.mMaxHeight != 0 )
{
static QgsWmtsTileMatrix tempTm;
tempTm.topLeft = QgsPoint( mLayerExtent.xMinimum(), mLayerExtent.yMaximum() );
Expand All @@ -613,7 +613,7 @@ QImage *QgsWmsProvider::draw( QgsRectangle const &viewExtent, int pixelWidth, in
else
{
QgsDebugMsg( "empty tile size" );
return mCacheImage;
return mCachedImage;
}

QgsDebugMsg( QString( "layer extent: %1,%2 %3x%4" )
Expand Down

0 comments on commit 85c811b

Please sign in to comment.