summaryrefslogtreecommitdiff
path: root/wintable/draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'wintable/draw.h')
-rw-r--r--wintable/draw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wintable/draw.h b/wintable/draw.h
index a5a35a2..a34ed4a 100644
--- a/wintable/draw.h
+++ b/wintable/draw.h
@@ -41,6 +41,7 @@ static void drawImageCell(struct table *t, HDC dc, struct drawCellParams *p, REC
ZeroMemory(&bi, sizeof (BITMAP));
if (GetObject(bitmap, sizeof (BITMAP), &bi) == 0)
panic("error getting Table cell image dimensions for drawing");
+ // is it even possible to enforce the type of bitmap we need here based on the contents of the BITMAP (or even the DIBSECTION) structs?
idc = CreateCompatibleDC(dc);
if (idc == NULL)