summaryrefslogtreecommitdiffstats
path: root/Panel.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-12-22 17:30:29 +1100
committerNathan Scott <nathans@redhat.com>2020-12-22 17:30:29 +1100
commit3fb0024fd34ab5264251b4e3834a5adc03ed7e5e (patch)
tree48f9ab97d77efada3c8f44338a429d5d362d47d1 /Panel.c
parentdfb9b82607d531c9dd68fb30580207bf624df1c8 (diff)
parentcdfd407e2eb68c3bbb213b6a2de313ee0a7a2669 (diff)
Merge branch 'misc' of https://github.com/cgzones/htop into cgzones-misc
Diffstat (limited to 'Panel.c')
-rw-r--r--Panel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Panel.c b/Panel.c
index 480a0125..b36f1efc 100644
--- a/Panel.c
+++ b/Panel.c
@@ -55,6 +55,7 @@ void Panel_init(Panel* this, int x, int y, int w, int h, const ObjectClass* type
this->scrollH = 0;
this->selected = 0;
this->oldSelected = 0;
+ this->selectedLen = 0;
this->needsRedraw = true;
this->wasFocus = false;
RichString_beginAllocated(this->header);

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