More TODOs.

This commit is contained in:
Pietro Gagliardi 2015-01-07 19:43:04 -05:00
parent ad6caaf372
commit 10cee92223
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ static void drawImageCell(struct table *t, HDC dc, struct drawCellParams *p, REC
ZeroMemory(&bi, sizeof (BITMAP)); ZeroMemory(&bi, sizeof (BITMAP));
if (GetObject(bitmap, sizeof (BITMAP), &bi) == 0) if (GetObject(bitmap, sizeof (BITMAP), &bi) == 0)
panic("error getting Table cell image dimensions for drawing"); 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); idc = CreateCompatibleDC(dc);
if (idc == NULL) if (idc == NULL)