From 42f14ad50228587db2f17a3b97df88eb71443b46 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Thu, 3 Jul 2014 14:48:25 -0400 Subject: [PATCH] Update brace placement --- openbr/plugins/independent.cpp | 4 ++-- openbr/plugins/openbr_internal.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/openbr/plugins/independent.cpp b/openbr/plugins/independent.cpp index 75b80d3..2a627c1 100644 --- a/openbr/plugins/independent.cpp +++ b/openbr/plugins/independent.cpp @@ -135,9 +135,9 @@ class IndependentTransform : public MetaTransform if (!transform->setPropertyRecursive(name, value)) return false; - for (int i=0;i < transforms.size();i++) { + for (int i=0;i < transforms.size();i++) transforms[i]->setPropertyRecursive(name, value); - } + return true; } diff --git a/openbr/plugins/openbr_internal.h b/openbr/plugins/openbr_internal.h index 23200bc..bd537f0 100644 --- a/openbr/plugins/openbr_internal.h +++ b/openbr/plugins/openbr_internal.h @@ -309,8 +309,7 @@ public: if (br::Object::setPropertyRecursive(name, value)) return true; - for (int i=0; i < this->transforms.size();i++) - { + for (int i=0; i < this->transforms.size();i++) { if (transforms[i]->setPropertyRecursive(name, value)) { init(); return true; -- libgit2 0.21.4