Panel: initialize cursorOn member

Panel.c:496:14: runtime error: load of value 190, which is not a valid value for type 'bool'
This commit is contained in:
Christian Göttsche 2021-12-08 12:40:13 +01:00
parent 0e58784224
commit 2ae1906479
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ void Panel_init(Panel* this, int x, int y, int w, int h, const ObjectClass* type
this->oldSelected = 0;
this->selectedLen = 0;
this->needsRedraw = true;
this->cursorOn = false;
this->wasFocus = false;
RichString_beginAllocated(this->header);
this->defaultBar = fuBar;