1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Add all files filter

This commit is contained in:
Ted John
2017-05-28 23:46:25 +01:00
committed by Gymnasiast
parent 3ca1b48384
commit 61228fc4e8

View File

@@ -286,6 +286,10 @@ static bool browse(bool isSave, char *path, size_t pathSize)
break;
}
// Add 'all files' filter
desc.filters[1].name = language_get_string(STR_ALL_FILES);
desc.filters[1].pattern = "*";
desc.title = language_get_string(title);
return platform_open_common_file_dialog(path, &desc, pathSize);
}