From 37420d7ea831113cdbf243e3aa695d1d4cbabedb Mon Sep 17 00:00:00 2001 From: Austin Blanton Date: Wed, 30 Jul 2014 17:03:43 -0400 Subject: [PATCH] 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 cd59b3e..ffe662c 100644 --- a/openbr/plugins/gallery.cpp +++ b/openbr/plugins/gallery.cpp @@ -157,7 +157,7 @@ class BinaryGallery : public Gallery break; } - *done = stream.atEnd(); + *done = gallery.pos() == gallery.size(); return templates; } -- libgit2 0.21.4