aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorin1tiate <radwoodward@vikings.grayson.edu>2021-11-15 16:48:46 -0600
committerin1tiate <radwoodward@vikings.grayson.edu>2021-11-15 16:48:46 -0600
commit101a5e506f77eb0a7282a4b5865fe498c954b049 (patch)
treec8aefabed8bf472059cc7cc590085bb8b2cde2e4
parent2d38257878887dca8d460e0235eecc622c1d3fa3 (diff)
Fix all files being allowed past the suffix check for images
-rw-r--r--src/text_file_functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp
index aedf3b8a..d873b3c1 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" });
}