mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
Small fix for demo plugin code. Minor code clean-ups.
This commit is contained in:
parent
e7326dbbaf
commit
a728139698
60 changed files with 836 additions and 1029 deletions
|
|
@ -81,13 +81,12 @@ void FileChooser::showPlatformDialog (Array<File>& results,
|
|||
|
||||
if (status == 0)
|
||||
{
|
||||
String resultString (String::fromUTF8 (result.getData(), result.getDataSize()));
|
||||
StringArray tokens;
|
||||
|
||||
if (selectMultipleFiles)
|
||||
tokens.addTokens (resultString, separator, String::empty);
|
||||
tokens.addTokens (result.toUTF8(), separator, String::empty);
|
||||
else
|
||||
tokens.add (resultString);
|
||||
tokens.add (result.toUTF8());
|
||||
|
||||
for (int i = 0; i < tokens.size(); i++)
|
||||
results.add (File (tokens[i]));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue