Skip to content
Permalink
Browse files
Fix OGC test getmap:each-format mode for 1bit/8bit/16bit
  • Loading branch information
pblottiere committed Sep 6, 2017
1 parent c43cd99 commit 25accbc
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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 )

0 comments on commit 25accbc

Please sign in to comment.