From 10cee922233d33df57e5f6195cb685b59d2bccaa Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 7 Jan 2015 19:43:04 -0500 Subject: [PATCH] More TODOs. --- wintable/draw.h | 1 + 1 file changed, 1 insertion(+) 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)