mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Remove empty strings when creating an ArgumentList so they are not treated as a separate argument
This commit is contained in:
parent
3b16efce0b
commit
38fb341ee4
1 changed files with 1 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ ArgumentList::ArgumentList (String exeName, StringArray args)
|
|||
: executableName (std::move (exeName))
|
||||
{
|
||||
args.trim();
|
||||
args.removeEmptyStrings();
|
||||
|
||||
for (auto& a : args)
|
||||
arguments.add ({ a });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue