From 207bab563c418c6f9ed7030c79eaeb39faf37486 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Mon, 12 Aug 2013 20:26:19 -0400 Subject: [PATCH] A little cleanup in misc.cpp --- openbr/plugins/misc.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/openbr/plugins/misc.cpp b/openbr/plugins/misc.cpp index a3467c4..09c214b 100644 --- a/openbr/plugins/misc.cpp +++ b/openbr/plugins/misc.cpp @@ -355,7 +355,7 @@ BR_REGISTER(Transform, AsTransform) /*! * \ingroup transforms * \brief Apply the input regular expression to the value of inputProperty, store the matched portion in outputProperty. - * \author Josh Klontz \cite jklontz + * \author Charles Otto \cite caotto */ class RegexPropertyTransform : public UntrainableMetaTransform { @@ -371,7 +371,7 @@ class RegexPropertyTransform : public UntrainableMetaTransform { dst = src; QRegularExpression re(regexp); - QRegularExpressionMatch match = re.match(dst.file.get(inputProprety)); + QRegularExpressionMatch match = re.match(dst.file.get(inputProperty)); if (!match.hasMatch()) qFatal("Unable to match regular expression \"%s\" to base name \"%s\"!", qPrintable(regexp), qPrintable(dst.file.get(inputProperty))); dst.file.set(outputProperty, match.captured(match.lastCapturedIndex())); @@ -383,7 +383,7 @@ BR_REGISTER(Transform, RegexPropertyTransform) /*! * \ingroup transforms * \brief Remove templates with the specified file extension or metadata value. - * \author Charles Otto \cite caotto + * \author Josh Klontz \cite jklontz */ class RemoveTemplatesTransform : public UntrainableMetaTransform { @@ -530,6 +530,7 @@ class IncrementalOutputTransform : public TimeVaryingTransform // Drop the current gallery. void finalize(TemplateList & data) { + (void) data; galleryUp = false; } -- libgit2 0.21.4