We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06f2a7b commit 5bd9b6dCopy full SHA for 5bd9b6d
src/core/dxf/qgsdxfexport.cpp
@@ -2193,7 +2193,7 @@ QStringList QgsDxfExport::encodings()
2193
for ( const QByteArray &codec : codecs )
2194
{
2195
int i;
2196
- for ( i = 0; i < static_cast< int >( sizeof( DXF_ENCODINGS ) / sizeof( *DXF_ENCODINGS ) ) && strcmp( codec.data(), DXF_ENCODINGS[i][1] ) != 0; ++i )
+ for ( i = 0; i < static_cast< int >( sizeof( DXF_ENCODINGS ) / sizeof( *DXF_ENCODINGS ) ) && strcasecmp( codec.data(), DXF_ENCODINGS[i][1] ) != 0; ++i )
2197
;
2198
2199
if ( i < static_cast< int >( sizeof( DXF_ENCODINGS ) / sizeof( *DXF_ENCODINGS ) ) )
0 commit comments