From 09c7152990b6fd269ac0a023e2093dcf041e2f9d Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Sun, 22 Mar 2015 02:50:40 -0300 Subject: Refactor state control variables. --- MainPanel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MainPanel.c') diff --git a/MainPanel.c b/MainPanel.c index a63eb472..48855876 100644 --- a/MainPanel.c +++ b/MainPanel.c @@ -98,10 +98,10 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) { ProcessList_printHeader(this->state->pl, Panel_getHeader(super)); } if (reaction & HTOP_REFRESH) { - result |= REFRESH; + result |= REDRAW; } if (reaction & HTOP_RECALCULATE) { - result |= RECALCULATE; + result |= RESCAN; } if (reaction & HTOP_SAVE_SETTINGS) { this->state->settings->changed = true; -- cgit v1.2.3