mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
[Summary] using "extensions" instead id "extentions"
This commit is contained in:
parent
d2a0ecd417
commit
ccbb167ad3
1 changed files with 3 additions and 3 deletions
|
|
@ -97,7 +97,7 @@ ARDOUR::open_file_dialog (std::string initial_path, std::string title)
|
|||
}
|
||||
|
||||
std::vector<std::string>
|
||||
ARDOUR::open_file_dialog (std::vector<std::string> extentions, std::string initial_path, std::string title)
|
||||
ARDOUR::open_file_dialog (std::vector<std::string> extensions, std::string initial_path, std::string title)
|
||||
{
|
||||
TCHAR szFilePathName[_MAX_PATH] = "";
|
||||
OPENFILENAME ofn = {0};
|
||||
|
|
@ -109,8 +109,8 @@ ARDOUR::open_file_dialog (std::vector<std::string> extentions, std::string initi
|
|||
|
||||
// Create filter for required file types
|
||||
std::string filter;
|
||||
for (int i = 0; i < extentions.size(); ++i) {
|
||||
filter += "*."+extentions[i]+";";
|
||||
for (int i = 0; i < extensions.size(); ++i) {
|
||||
filter += "*."+extensions[i]+";";
|
||||
}
|
||||
|
||||
char c_filter[2+filter.size()+2];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue