From 8deaa0a9e3852df2c9c773829555a020578aa62e Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 15 Aug 2008 12:15:34 +0200 Subject: [PATCH] correct playlist clearing --- src/menu.cpp | 3 ++- src/menu.h | 3 +-- src/ncmpcpp.cpp | 1 - src/status_checker.cpp | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/menu.cpp b/src/menu.cpp index 3df8bb8f..b4892ca4 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -529,7 +529,7 @@ void Menu::Highlight(int which) int howmuch = itsBeginning-old_beginning; - if (Abs(howmuch) > itsHeight/2) + if (Abs(howmuch) > itsHeight) redraw_screen(); else { @@ -561,6 +561,7 @@ void Menu::Clear(bool clear_screen) for (vector