From 101a5e506f77eb0a7282a4b5865fe498c954b049 Mon Sep 17 00:00:00 2001 From: in1tiate Date: Mon, 15 Nov 2021 16:48:46 -0600 Subject: [PATCH] Fix all files being allowed past the suffix check for images --- src/text_file_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp index aedf3b8..d873b3c 100644 --- a/src/text_file_functions.cpp +++ b/src/text_file_functions.cpp @@ -517,7 +517,7 @@ QString AOApplication::get_sfx_suffix(VPath sound_to_check) QString AOApplication::get_image_suffix(VPath path_to_check, bool static_image) { - QStringList suffixes { "" }; + QStringList suffixes {}; if (!static_image) { suffixes.append({ ".webp", ".apng", ".gif" }); }