From 2ae19064791306b8cd7c741cf3431bde58d77136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Wed, 8 Dec 2021 12:40:13 +0100 Subject: [PATCH] Panel: initialize cursorOn member Panel.c:496:14: runtime error: load of value 190, which is not a valid value for type 'bool' --- Panel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Panel.c b/Panel.c index 01ddfac9..4ea03f66 100644 --- a/Panel.c +++ b/Panel.c @@ -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;