From 5027467067f3e768a594dc8312e50c7dbd6b1c75 Mon Sep 17 00:00:00 2001 From: shenleban tongying Date: Wed, 20 Nov 2024 04:10:21 -0500 Subject: [PATCH] brace --- src/common/utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utils.cc b/src/common/utils.cc index c10cd872..dabcdb4b 100644 --- a/src/common/utils.cc +++ b/src/common/utils.cc @@ -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 )