diff --git a/openbr/plugins/gallery/vec.cpp b/openbr/plugins/gallery/vec.cpp index f69a414..13dc3ac 100644 --- a/openbr/plugins/gallery/vec.cpp +++ b/openbr/plugins/gallery/vec.cpp @@ -22,15 +22,15 @@ class vecGallery : public FileGallery ~vecGallery() { - if (mats.isEmpty()) - return; + if (mats.isEmpty()) + return; - writeOpen(); + writeOpen(); - // Write header - int count = mats.size(); - int size = width*height; - short temp = 0; + // Write header + int count = mats.size(); + int size = width*height; + short temp = 0; const size_t write1 = f.write((char*)&count,sizeof(count)); const size_t write2 = f.write((char*)&size,sizeof(size)); @@ -42,16 +42,16 @@ class vecGallery : public FileGallery for (int i=0; i