summaryrefslogtreecommitdiffstats
path: root/Action.c
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2021-07-14 19:11:18 +0200
committerBenBE <BenBE@geshi.org>2021-07-15 06:57:24 +0200
commite7f8d7bcc954e965143331ec3f2353c03959acc6 (patch)
tree428fadcc2993b16ccfed1d3b088a0966049a9e6c /Action.c
parent3bc73aa0881d581eadd75ce30e36ad086c7a21a3 (diff)
Split statements that should go onto multiple lines
Diffstat (limited to 'Action.c')
-rw-r--r--Action.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Action.c b/Action.c
index d6fd7371..2a580f74 100644
--- a/Action.c
+++ b/Action.c
@@ -227,7 +227,8 @@ static Htop_Reaction actionToggleMergedCommand(State* st) {
static Htop_Reaction actionToggleTreeView(State* st) {
st->settings->treeView = !st->settings->treeView;
- if (!st->settings->allBranchesCollapsed) ProcessList_expandTree(st->pl);
+ if (!st->settings->allBranchesCollapsed)
+ ProcessList_expandTree(st->pl);
return HTOP_REFRESH | HTOP_SAVE_SETTINGS | HTOP_KEEP_FOLLOWING | HTOP_REDRAW_BAR | HTOP_UPDATE_PANELHDR;
}
@@ -399,7 +400,8 @@ static Htop_Reaction actionLsof(State* st) {
static Htop_Reaction actionShowLocks(State* st) {
const Process* p = (Process*) Panel_getSelected((Panel*)st->mainPanel);
- if (!p) return HTOP_OK;
+ if (!p)
+ return HTOP_OK;
ProcessLocksScreen* pls = ProcessLocksScreen_new(p);
InfoScreen_run((InfoScreen*)pls);
ProcessLocksScreen_delete((Object*)pls);

© 2014-2024 Faster IT GmbH | imprint | privacy policy