Skip to content

Commit 85c811b

Browse files
committed
fix build (followup 6de2828)
1 parent 04ff46f commit 85c811b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/providers/wms/qgswmsprovider.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ QImage *QgsWmsProvider::draw( QgsRectangle const &viewExtent, int pixelWidth, in
598598

599599
tileMode = mTileLayer->tileMode;
600600
}
601-
else if ( mSettings.mMaxWidth != 0 && mSettings.mMaxHeight && != 0 )
601+
else if ( mSettings.mMaxWidth != 0 && mSettings.mMaxHeight != 0 )
602602
{
603603
static QgsWmtsTileMatrix tempTm;
604604
tempTm.topLeft = QgsPoint( mLayerExtent.xMinimum(), mLayerExtent.yMaximum() );
@@ -613,7 +613,7 @@ QImage *QgsWmsProvider::draw( QgsRectangle const &viewExtent, int pixelWidth, in
613613
else
614614
{
615615
QgsDebugMsg( "empty tile size" );
616-
return mCacheImage;
616+
return mCachedImage;
617617
}
618618

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

0 commit comments

Comments
 (0)