summaryrefslogtreecommitdiff
path: root/wintable/main.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-19 23:51:42 -0400
committerPietro Gagliardi <[email protected]>2014-10-19 23:51:42 -0400
commitb7e752196a66534e7abfa3818d7210af5fc3da5f (patch)
treed379bf742447623d3069cdef171f715aa1bcce6e /wintable/main.c
parent09b5fefac206f54672cdf9d9ee7df55a95fb9d76 (diff)
Fixed the last of the redrawing issues.
Diffstat (limited to 'wintable/main.c')
-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;