Altered some TODOs because <HeapAlloc> what's a last error

This commit is contained in:
Pietro Gagliardi 2014-12-07 14:05:38 -05:00
parent fcd213088f
commit 75c9f73870
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ static LRESULT CALLBACK tableWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
if (uMsg == WM_NCCREATE) {
CREATESTRUCTW *cs = (CREATESTRUCTW *) lParam;
// TODO use HeapAlloc() or something to make the last error reasonable
// TODO find something that DOES set a last error code to use instead, or figure out how to abuse SEH temporarily so we can use HeapAlloc()...
t = (struct table *) malloc(sizeof (struct table));
if (t == NULL)
panic("error allocating internal Table data structure");