summaryrefslogtreecommitdiff
path: root/wintable/main.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-11-05 20:29:22 -0500
committerPietro Gagliardi <[email protected]>2014-11-05 20:29:22 -0500
commite7a5c4bface511a67a11307a39e3015feee1a8ea (patch)
tree1b95ef35fdb83b96f1b54c7c526b15f322f545b0 /wintable/main.c
parentfdd372082164c0c1c54a777a996e92fe63aa974b (diff)
More TODOs.
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)