Panel_init: initialize selectedLen member

This commit is contained in:
Christian Göttsche 2020-12-21 21:56:26 +01:00
parent 64c05a1ed5
commit cdfd407e2e
1 changed files with 1 additions and 0 deletions

View File

@ -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;