From 04f88ef8fb93be0027f8a3f9fdebb09265ca2f1b Mon Sep 17 00:00:00 2001 From: jj Date: Sun, 5 Jan 2014 02:29:01 +0100 Subject: [PATCH] showmood: fix count of gotten items --- plugins/showmood.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/showmood.cpp b/plugins/showmood.cpp index ba6df034a..57bfd9658 100644 --- a/plugins/showmood.cpp +++ b/plugins/showmood.cpp @@ -169,7 +169,7 @@ command_result df_showmood (color_ostream &out, vector & parameters) // total amount of stuff fetched so far int count_got = 0; for (size_t i = 0; i < job->items.size(); i++) - count_got += job->items[i]->item->getTotalDimension(); + count_got += 1; // XXX thread may need job->items[i]->item->getTotalDimension() for (size_t i = 0; i < job->job_items.size(); i++) {