diff --git a/top/top.c b/top/top.c index 44bc3805..aa2777b2 100644 --- a/top/top.c +++ b/top/top.c @@ -5399,7 +5399,7 @@ static int window_show (WIN_t *q, int wmax) { while (i < Frame_maxtask && lwin < wmax) { if ((CHKw(q, Show_IDLEPS) || isBUSY(q->ppt[i])) && user_matched(q, q->ppt[i]) - && *task_show(q, q->ppt[i++])) + && *task_show(q, q->ppt[i])) ++lwin; ++i; }