Skip to content
Permalink
Browse files
Use case insensitive check for image filename extension (fix #9482)
  • Loading branch information
nyalldawson committed Feb 9, 2014
1 parent d4043be commit a9ac0d70f49663741aa70d03aaddc496a0b6e323
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgisgui.cpp
@@ -166,7 +166,7 @@ namespace QgisGui
#endif

// Add the file type suffix to the fileName if required
if ( !ext.isNull() && !outputFileName.endsWith( "." + ext ) )
if ( !ext.isNull() && !outputFileName.toLower().endsWith( "." + ext.toLower() ) )
{
outputFileName += "." + ext;
}

0 comments on commit a9ac0d7

Please sign in to comment.