summaryrefslogtreecommitdiff
path: root/wintable/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'wintable/main.c')
-rw-r--r--wintable/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wintable/main.c b/wintable/main.c
index f4c5a9a..b6edc22 100644
--- a/wintable/main.c
+++ b/wintable/main.c
@@ -592,6 +592,7 @@ static void drawItem(struct table *t, HDC dc, intptr_t i, LONG y, LONG height, R
if (FillRect(dc, &rsel, background) == 0)
abort();
+ // TODO double-check to see if this takes any parameters
xoff = SendMessageW(t->header, HDM_GETBITMAPMARGIN, 0, 0);
// now adjust for horizontal scrolling
xoff -= t->hpos;