From 39dd2e34163609c7d3c559b5dc8ea4de21c11967 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Wed, 30 Jan 2013 11:15:03 -0500 Subject: [PATCH] input parsing bug fix --- sdk/openbr_plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/openbr_plugin.cpp b/sdk/openbr_plugin.cpp index 98fd78e..658214d 100644 --- a/sdk/openbr_plugin.cpp +++ b/sdk/openbr_plugin.cpp @@ -426,9 +426,9 @@ TemplateList TemplateList::fromInput(const br::File &input) const int crossValidate = input.getInt("crossValidate"); if (crossValidate > 0) srand(0); - // If input is a Format not a Gallery + // If file is a Format not a Gallery if (newTemplates.isEmpty()) - newTemplates.append(input); + newTemplates.append(file); // Propogate metadata for (int i=0; i