From b7e752196a66534e7abfa3818d7210af5fc3da5f Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 19 Oct 2014 23:51:42 -0400 Subject: [PATCH] Fixed the last of the redrawing issues. --- wintable/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wintable/main.c b/wintable/main.c index 5edf1ed..129b116 100644 --- a/wintable/main.c +++ b/wintable/main.c @@ -180,7 +180,7 @@ static void drawItems(struct table *t, HDC dc, RECT cliprect) if (last >= t->count) last = t->count; - y = 0; + y = first * tm.tmHeight; for (i = first; i < last; i++) { RECT rsel; HBRUSH background;