From 0cc51d5ecbc77c4a29569348131fcc2bf8fec75a Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Thu, 31 Jul 2014 08:19:01 -0400 Subject: [PATCH] Revert "Fix neverending UT file" --- 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 ffe662c..cd59b3e 100644 --- a/openbr/plugins/gallery.cpp +++ b/openbr/plugins/gallery.cpp @@ -157,7 +157,7 @@ class BinaryGallery : public Gallery break; } - *done = gallery.pos() == gallery.size(); + *done = stream.atEnd(); return templates; } -- libgit2 0.21.4