Make requested changes

This commit is contained in:
xiota
2024-04-16 15:49:40 +00:00
parent 1ad5ec3e9e
commit 4d715cf281
4 changed files with 64 additions and 66 deletions

View File

@@ -240,8 +240,7 @@ bool hasJpegExtension(const Glib::ustring& filename)
#ifdef LIBJXL
bool hasJxlExtension(const Glib::ustring& filename)
{
const Glib::ustring extension = getFileExtension(filename);
return extension == "jxl";
return getFileExtension(filename) == "jxl";
}
#endif