Commit a9096252aaa047389e7c55c6fa8ac1b50686238b

Authored by Josh Klontz
2 parents c395fdbd 85d57079

Merge branch 'master' of https://github.com/biometrics/openbr

Showing 1 changed file with 1 additions and 1 deletions
sdk/plugins/gallery.cpp
... ... @@ -226,7 +226,7 @@ class memGallery : public Gallery
226 226  
227 227 TemplateList templates = MemoryGalleries::galleries[file].mid(block*Globals->blockSize, Globals->blockSize);
228 228 *done = (templates.size() < Globals->blockSize);
229   - block = done ? 0 : block+1;
  229 + block = *done ? 0 : block+1;
230 230 return templates;
231 231 }
232 232  
... ...