diff --git a/wintable/new/draw.h b/wintable/new/draw.h index e64b613..2081581 100644 --- a/wintable/new/draw.h +++ b/wintable/new/draw.h @@ -49,7 +49,7 @@ static void draw(struct table *t, HDC dc, RECT cliprect, RECT client) ZeroMemory(&p, sizeof (struct drawCellParams)); p.row = 0; p.column = 0; - p.x = r.left - t->hscrollpos; + p.x = r.left; p.y = 100; p.width = r.right - r.left; p.height = rowHeight(t, dc, FALSE);