1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-16 00:34:19 +00:00

New method Array::addNullTerminatedArray(), and misc minor tightening-up of code.

This commit is contained in:
jules 2013-09-18 19:10:01 +01:00
parent 15424753c3
commit 221786dfcf
8 changed files with 51 additions and 87 deletions

View file

@ -209,7 +209,7 @@ bool MainWindow::openFile (const File& file)
bool MainWindow::isInterestedInFileDrag (const StringArray& filenames)
{
for (int i = filenames.size(); --i >= 0;)
if (canOpenFile (filenames[i]))
if (canOpenFile (File (filenames[i])))
return true;
return false;