Skip to content

Commit a0a8e49

Browse files
authoredApr 12, 2019
Merge pull request #9777 from mbernasocchi/fix_maxwmswidth
[server] fix wmsMaxHeightEnv leftover code
2 parents 6092d56 + c1546d9 commit a0a8e49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/server/services/wms/qgswmsrenderer.cpp

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.