summaryrefslogtreecommitdiff
path: root/src/ui/inputwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-09-17 07:12:43 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-09-17 07:12:43 +0300
commit0d88597ecc664cc55b76fcd8296d3ee3c773f8cc (patch)
treeeb3a3b870985ead8678ee0ac3b7f2ef58e5dd3c1 /src/ui/inputwidget.c
parent0f0eef8c4228b06c5388aa4ca9e02ab8efee8273 (diff)
Fixed minor widget glitches
Diffstat (limited to 'src/ui/inputwidget.c')
-rw-r--r--src/ui/inputwidget.c2
1 files changed, 1 insertions, 1 deletions
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) {
2314 }; 2314 };
2315 const iRangei visLines = visibleLineRange_InputWidget_(d); 2315 const iRangei visLines = visibleLineRange_InputWidget_(d);
2316 const int visLineOffsetY = visLineOffsetY_InputWidget_(d); 2316 const int visLineOffsetY = visLineOffsetY_InputWidget_(d);
2317 iRect markerRects[2]; 2317 iRect markerRects[2] = { zero_Rect(), zero_Rect() };
2318 /* If buffered, just draw the buffered copy. */ 2318 /* If buffered, just draw the buffered copy. */
2319 if (d->buffered && !isFocused) { 2319 if (d->buffered && !isFocused) {
2320 /* Most input widgets will use this, since only one is focused at a time. */ 2320 /* Most input widgets will use this, since only one is focused at a time. */