Skip to content

Commit c1546d9

Browse files
committed
fix wmsMaxHeightEnv leftover code
Signed-off-by: Marco Bernasocchi <marco@opengis.ch>
1 parent f6970fa commit c1546d9

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
@@ -1905,7 +1905,7 @@ namespace QgsWms
19051905
int wmsMaxHeightProj = QgsServerProjectUtils::wmsMaxHeight( *mProject );
19061906
int wmsMaxHeightEnv = mContext.settings().wmsMaxHeight();
19071907
int wmsMaxHeight;
1908-
if ( wmsMaxWidthEnv != -1 && wmsMaxWidthProj != -1 )
1908+
if ( wmsMaxHeightEnv != -1 && wmsMaxHeightProj != -1 )
19091909
{
19101910
// both are set, so we take the more conservative one
19111911
wmsMaxHeight = std::min( wmsMaxHeightProj, wmsMaxHeightEnv );

0 commit comments

Comments
 (0)