From a070604d7b49835713682d49a7ba50a83abd9835 Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Sat, 23 Sep 2023 06:25:00 +0200 Subject: [PATCH] Remove outdated comment (#20804) The comment dated from the time where the "All files" filter was still hardcoded at index [1], rather than being added to a vector like it is now. --- src/openrct2-ui/windows/LoadSave.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/openrct2-ui/windows/LoadSave.cpp b/src/openrct2-ui/windows/LoadSave.cpp index ab81837f1a..84a7992abc 100644 --- a/src/openrct2-ui/windows/LoadSave.cpp +++ b/src/openrct2-ui/windows/LoadSave.cpp @@ -472,7 +472,6 @@ static u8string OpenSystemFileBrowser(bool isSave) desc.Type = isSave ? OpenRCT2::Ui::FileDialogType::Save : OpenRCT2::Ui::FileDialogType::Open; desc.DefaultFilename = isSave ? path : u8string(); - // Add 'all files' filter. If the number of filters is increased, this code will need to be adjusted. desc.Filters.emplace_back(LanguageGetString(STR_ALL_FILES), "*"); desc.Title = LanguageGetString(title);