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
1 changed files with 4 additions and 0 deletions

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);
}