mirror of
https://github.com/xzeldon/htop.git
synced 2025-04-05 10:57:07 +03:00
Panel_init: initialize selectedLen member
This commit is contained in:
parent
64c05a1ed5
commit
cdfd407e2e
1
Panel.c
1
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->scrollH = 0;
|
||||||
this->selected = 0;
|
this->selected = 0;
|
||||||
this->oldSelected = 0;
|
this->oldSelected = 0;
|
||||||
|
this->selectedLen = 0;
|
||||||
this->needsRedraw = true;
|
this->needsRedraw = true;
|
||||||
RichString_beginAllocated(this->header);
|
RichString_beginAllocated(this->header);
|
||||||
this->defaultBar = fuBar;
|
this->defaultBar = fuBar;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user