From 0aa5b057ff2c8b0f63f30b9d31551a7ae32a5fab Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Wed, 3 Sep 2014 14:20:52 -0400 Subject: [PATCH] Fix conditional in splitFTE --- openbr/plugins/openbr_internal.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/openbr/plugins/openbr_internal.h b/openbr/plugins/openbr_internal.h index 2d09862..1cc8f3f 100644 --- a/openbr/plugins/openbr_internal.h +++ b/openbr/plugins/openbr_internal.h @@ -484,9 +484,10 @@ inline void splitFTEs(TemplateList &src, TemplateList &ftes) src.clear(); foreach (const Template &t, active) { - if (t.file.fte && !Globals->enrollAll) - ftes.append(t); - else + if (t.file.fte) { + if (!Globals->enrollAll) + ftes.append(t); + } else src.append(t); } } -- libgit2 0.21.4