diff --git a/Panel.c b/Panel.c index 37b9c4ef..d5b4f133 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; RichString_beginAllocated(this->header); this->defaultBar = fuBar;