From 2b2e5b4a90e159ef7b3328c2a9cbd015ac7c3ae1 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Wed, 12 Nov 2014 08:41:34 -0500 Subject: [PATCH] forgot to update writeTemplate() also --- openbr/plugins/gallery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/plugins/gallery.cpp b/openbr/plugins/gallery.cpp index b9025ad..a08a8fa 100644 --- a/openbr/plugins/gallery.cpp +++ b/openbr/plugins/gallery.cpp @@ -293,7 +293,7 @@ class utGallery : public BinaryGallery uint32_t x = 0, y = 0, width = 0, height = 0; QByteArray header; - if (algorithmID == -1 || algorithmID == -2) { + if ((algorithmID <= -1) && (algorithmID >= -3)) { const QRectF frontalFace = t.file.get("FrontalFace"); x = frontalFace.x(); y = frontalFace.y(); -- libgit2 0.21.4