summaryrefslogtreecommitdiffstats
path: root/InfoScreen.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-01-02 23:51:53 +0100
committercgzones <cgzones@googlemail.com>2021-01-04 23:12:43 +0100
commitce9e7fd14f58467e3062b76d0132ebeb973a5e11 (patch)
tree09689984e9646806b0b92de329b051789dc8b508 /InfoScreen.c
parentbadeaf9e8298b9b8bbb37252eacb0eb2fcf14b98 (diff)
Panel_new: reorder arguments
Reorder owner and type so they match the order of Panel_init
Diffstat (limited to 'InfoScreen.c')
-rw-r--r--InfoScreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/InfoScreen.c b/InfoScreen.c
index 51bc1587..3681088a 100644
--- a/InfoScreen.c
+++ b/InfoScreen.c
@@ -26,7 +26,7 @@ InfoScreen* InfoScreen_init(InfoScreen* this, const Process* process, FunctionBa
if (!bar) {
bar = FunctionBar_new(InfoScreenFunctions, InfoScreenKeys, InfoScreenEvents);
}
- this->display = Panel_new(0, 1, COLS, height, false, Class(ListItem), bar);
+ this->display = Panel_new(0, 1, COLS, height, Class(ListItem), false, bar);
this->inc = IncSet_new(bar);
this->lines = Vector_new(this->display->items->type, true, DEFAULT_SIZE);
Panel_setHeader(this->display, panelHeader);

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