Commit 6aa1dfccd0a24b3152eb1ee615c7b0269f677343

Authored by Austin Blanton
1 parent 8cf0d648

Also write algID -2 correctly (haha oops)

Showing 1 changed file with 1 additions and 1 deletions
openbr/plugins/gallery.cpp
@@ -290,7 +290,7 @@ class utGallery : public BinaryGallery @@ -290,7 +290,7 @@ class utGallery : public BinaryGallery
290 290
291 uint32_t x = 0, y = 0, width = 0, height = 0; 291 uint32_t x = 0, y = 0, width = 0, height = 0;
292 QByteArray header; 292 QByteArray header;
293 - if (algorithmID == -1) { 293 + if (algorithmID == -1 || algorithmID == -2) {
294 const QRectF frontalFace = t.file.get<QRectF>("FrontalFace"); 294 const QRectF frontalFace = t.file.get<QRectF>("FrontalFace");
295 x = frontalFace.x(); 295 x = frontalFace.x();
296 y = frontalFace.y(); 296 y = frontalFace.y();