From 75c9f738703a355dddb13b0a0c8df9a446550ba1 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 7 Dec 2014 14:05:38 -0500 Subject: [PATCH] Altered some TODOs because what's a last error --- wintable/new/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wintable/new/main.c b/wintable/new/main.c index 728ed74..cd0b906 100644 --- a/wintable/new/main.c +++ b/wintable/new/main.c @@ -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");