This commit is contained in:
shenleban tongying 2024-11-20 04:10:21 -05:00
parent f07d853889
commit 5027467067

View file

@ -31,7 +31,7 @@ std::string c_string( const QString & str )
bool endsWithIgnoreCase( QByteArrayView str, QByteArrayView extension )
{
return str.size() > extension.size() && str.last( extension.size() ).compare( extension, Qt::CaseInsensitive ) );
return ( str.size() > extension.size()) && str.last( extension.size() ).compare( extension, Qt::CaseInsensitive ) );
}
QString escapeAmps( QString const & str )