Skip to content

Commit

Permalink
Remove outdated comment
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Gymnasiast committed Sep 22, 2023
1 parent b2c6cf0 commit 6eb446b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/openrct2-ui/windows/LoadSave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6eb446b

Please sign in to comment.