This commit is contained in:
tildearrow 2022-06-24 13:29:01 -05:00
parent 1ffca9bea2
commit 01d2971b40
1 changed files with 2 additions and 2 deletions

View File

@ -23,9 +23,9 @@ static NSArray *BuildAllowedFileTypes( const std::vector<std::string>& filterLis
NSMutableArray *buildFilterList = [[NSMutableArray alloc] init];
std::string typebuf;
for (std::string& i: filterList) {
for (const std::string& i: filterList) {
typebuf="";
for (char& j: i) {
for (const char& j: i) {
if (j==' ' || j==',' || j ==';') {
// or this: NSString::stringWithUTF8String(typebuf);
// buildFilterList->addObject(thisType);