summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-07 14:05:38 -0500
committerPietro Gagliardi <[email protected]>2014-12-07 14:05:38 -0500
commit75c9f738703a355dddb13b0a0c8df9a446550ba1 (patch)
treeb50ecfccadab6e60a32c06e60ca04429d522bc90
parentfcd213088fc6617f24c984603b8c434e961d9a97 (diff)
Altered some TODOs because <HeapAlloc> what's a last error
-rw-r--r--wintable/new/main.c2
1 files changed, 1 insertions, 1 deletions
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");