Skip to content

Commit

Permalink
Fix OGC test getmap:each-format mode for 1bit/8bit/16bit
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Sep 6, 2017
1 parent c43cd99 commit 25accbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsutils.cpp
Expand Up @@ -94,7 +94,7 @@ namespace QgsWms
QRegularExpression::CaseInsensitiveOption );

QRegularExpressionMatch match = modeExpr.match( format );
QString mode = match.captured();
QString mode = match.captured( 1 );
if ( mode.compare( QLatin1String( "16bit" ), Qt::CaseInsensitive ) == 0 )
return PNG16;
if ( mode.compare( QLatin1String( "8bit" ), Qt::CaseInsensitive ) == 0 )
Expand Down

0 comments on commit 25accbc

Please sign in to comment.