From 0d88597ecc664cc55b76fcd8296d3ee3c773f8cc Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Fri, 17 Sep 2021 07:12:43 +0300 Subject: Fixed minor widget glitches --- src/ui/inputwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/inputwidget.c') diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c index c8010fc6..c9c170cd 100644 --- a/src/ui/inputwidget.c +++ b/src/ui/inputwidget.c @@ -2314,7 +2314,7 @@ static void draw_InputWidget_(const iInputWidget *d) { }; const iRangei visLines = visibleLineRange_InputWidget_(d); const int visLineOffsetY = visLineOffsetY_InputWidget_(d); - iRect markerRects[2]; + iRect markerRects[2] = { zero_Rect(), zero_Rect() }; /* If buffered, just draw the buffered copy. */ if (d->buffered && !isFocused) { /* Most input widgets will use this, since only one is focused at a time. */ -- cgit v1.2.3