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 0cf6bde..6c21d13 100644
--- a/wintable/main.c
+++ b/wintable/main.c
@@ -344,6 +344,7 @@ static void drawItem(struct table *t, HDC dc, intptr_t i, LONG y, LONG height, R
xoff = SendMessageW(t->header, HDM_GETBITMAPMARGIN, 0, 0);
// now draw the cells
+ // TODO check error from GetSysColor()?
if (SetTextColor(dc, GetSysColor(textColor)) == CLR_INVALID)
abort();
if (SetBkMode(dc, TRANSPARENT) == 0)