Skip to content

Commit b9a807b

Browse files
m-kuhnmbernasocchi
andauthored
Update src/server/services/wms/qgswmsrenderer.cpp
Co-Authored-By: mbernasocchi <marco@opengis.ch>
1 parent d34e95a commit b9a807b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/services/wms/qgswmsrenderer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2080,7 +2080,7 @@ namespace QgsWms
20802080
int wmsMaxHeightProj = QgsServerProjectUtils::wmsMaxHeight( *mProject );
20812081
int wmsMaxHeightEnv = mSettings.wmsMaxHeight();
20822082
int wmsMaxHeight;
2083-
if ( wmsMaxWidthEnv != -1 && wmsMaxWidthProj != -1 )
2083+
if ( wmsMaxHeightEnv != -1 && wmsMaxHeightProj != -1 )
20842084
{
20852085
// both are set, so we take the more conservative one
20862086
wmsMaxHeight = std::min( QgsServerProjectUtils::wmsMaxHeight( *mProject ), wmsMaxHeightEnv );

0 commit comments

Comments
 (0)