diff options
| author | Pietro Gagliardi <[email protected]> | 2015-01-07 19:43:04 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-01-07 19:43:04 -0500 |
| commit | 10cee922233d33df57e5f6195cb685b59d2bccaa (patch) | |
| tree | 16907c361fc9e253f8c615d265e563ea6ee9e5d7 /wintable/draw.h | |
| parent | ad6caaf3721ba457252b67d0a271e6e55f9b6f9f (diff) | |
More TODOs.
Diffstat (limited to 'wintable/draw.h')
| -rw-r--r-- | wintable/draw.h | 1 |
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) |
