We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6970fa commit c1546d9Copy full SHA for c1546d9
src/server/services/wms/qgswmsrenderer.cpp
@@ -1905,7 +1905,7 @@ namespace QgsWms
1905
int wmsMaxHeightProj = QgsServerProjectUtils::wmsMaxHeight( *mProject );
1906
int wmsMaxHeightEnv = mContext.settings().wmsMaxHeight();
1907
int wmsMaxHeight;
1908
- if ( wmsMaxWidthEnv != -1 && wmsMaxWidthProj != -1 )
+ if ( wmsMaxHeightEnv != -1 && wmsMaxHeightProj != -1 )
1909
{
1910
// both are set, so we take the more conservative one
1911
wmsMaxHeight = std::min( wmsMaxHeightProj, wmsMaxHeightEnv );
0 commit comments