diff options
author | Nathan Scott <nathans@redhat.com> | 2020-08-20 14:19:53 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2020-08-20 14:19:53 +1000 |
commit | a82fd262d75f8494c34416e49c6241c29692676e (patch) | |
tree | 5c4ff9b8a872ca06e8e200a034099c736da1e160 /MainPanel.c | |
parent | cdff8aea2ab10870af1aad5bdb6949ea0fd407b0 (diff) | |
parent | 63fbc3b51704b4b122d2cab57de7e7f9dfcc03b1 (diff) |
Merge branch 'hishamhm-pull-960'
Diffstat (limited to 'MainPanel.c')
-rw-r--r-- | MainPanel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MainPanel.c b/MainPanel.c index 19b09ff1..f8a20da0 100644 --- a/MainPanel.c +++ b/MainPanel.c @@ -65,7 +65,7 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) { MainPanel* this = (MainPanel*) super; HandlerResult result = IGNORED; - + Htop_Reaction reaction = HTOP_OK; if (EVENT_IS_HEADER_CLICK(ch)) { @@ -80,7 +80,7 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) { } else { reaction |= Action_setSortKey(settings, field); } - reaction |= HTOP_RECALCULATE | HTOP_REDRAW_BAR | HTOP_SAVE_SETTINGS; + reaction |= HTOP_RECALCULATE | HTOP_REDRAW_BAR | HTOP_SAVE_SETTINGS; result = HANDLED; } else if (ch != ERR && this->inc->active) { bool filterChanged = IncSet_handleKey(this->inc, ch, super, (IncMode_GetPanelValue) MainPanel_getValue, NULL); @@ -117,7 +117,7 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) { } if (reaction & HTOP_REFRESH) { result |= REDRAW; - } + } if (reaction & HTOP_RECALCULATE) { result |= RESCAN; } |