From cdfd407e2eb68c3bbb213b6a2de313ee0a7a2669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Mon, 21 Dec 2020 21:56:26 +0100 Subject: Panel_init: initialize selectedLen member --- Panel.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Panel.c') 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; -- cgit v1.2.3