summaryrefslogtreecommitdiff
path: root/wintable
diff options
context:
space:
mode:
Diffstat (limited to 'wintable')
-rw-r--r--wintable/main.c2
1 files changed, 1 insertions, 1 deletions
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;