summaryrefslogtreecommitdiffstats
path: root/Panel.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-12-21 21:56:26 +0100
committerChristian Göttsche <cgzones@googlemail.com>2020-12-21 22:34:50 +0100
commitcdfd407e2eb68c3bbb213b6a2de313ee0a7a2669 (patch)
tree001675464c4f2677c03d7488e5e302a230d4f9a5 /Panel.c
parent64c05a1ed5ea2d3589fc8239ce9065fe786c02cd (diff)
Panel_init: initialize selectedLen member
Diffstat (limited to 'Panel.c')
-rw-r--r--Panel.c1
1 files changed, 1 insertions, 0 deletions
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;

© 2014-2024 Faster IT GmbH | imprint | privacy policy