From 1a39cb0f50d0832fac3f305ded456106b97f7c7b Mon Sep 17 00:00:00 2001 From: tuxmobil Date: Tue, 15 Oct 2013 11:04:00 +0200 Subject: [PATCH] Fix for Bug 714 "Mark above as read" --- src/org/fox/ttrss/HeadlinesFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/fox/ttrss/HeadlinesFragment.java b/src/org/fox/ttrss/HeadlinesFragment.java index 42d960bc..d2ba40cc 100644 --- a/src/org/fox/ttrss/HeadlinesFragment.java +++ b/src/org/fox/ttrss/HeadlinesFragment.java @@ -212,12 +212,12 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener, ArticleList tmp = new ArticleList(); for (Article a : articles) { if (a.unread) { - if (article.id == a.id) - break; a.unread = false; tmp.add(a); } + if (article.id == a.id) + break; } if (tmp.size() > 0) { m_activity.toggleArticlesUnread(tmp);