Commit 39dd2e34163609c7d3c559b5dc8ea4de21c11967

Authored by Josh Klontz
1 parent dc14c7db

input parsing bug fix

Showing 1 changed file with 2 additions and 2 deletions
sdk/openbr_plugin.cpp
... ... @@ -426,9 +426,9 @@ TemplateList TemplateList::fromInput(const br::File &input)
426 426 const int crossValidate = input.getInt("crossValidate");
427 427 if (crossValidate > 0) srand(0);
428 428  
429   - // If input is a Format not a Gallery
  429 + // If file is a Format not a Gallery
430 430 if (newTemplates.isEmpty())
431   - newTemplates.append(input);
  431 + newTemplates.append(file);
432 432  
433 433 // Propogate metadata
434 434 for (int i=0; i<newTemplates.size(); i++) {
... ...