summaryrefslogtreecommitdiff
path: root/new/window_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-07 22:58:06 -0400
committerPietro Gagliardi <[email protected]>2015-04-07 22:58:06 -0400
commit49ee58ca364d055594657f11cef04f8c8440c366 (patch)
treea045903060209a95f2035044d57f5b1c0a52b0b2 /new/window_windows.c
parent3fc36ec58228f244f841f6ff8953cbbbfea9f350 (diff)
Decided to remove the logging for now. Will inject it right into the allocation system later.
Diffstat (limited to 'new/window_windows.c')
-rw-r--r--new/window_windows.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/new/window_windows.c b/new/window_windows.c
index 50e7a88..58f4106 100644
--- a/new/window_windows.c
+++ b/new/window_windows.c
@@ -46,7 +46,6 @@ static LRESULT CALLBACK uiWindowWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPA
return 0;
break; // fall through to DefWindowProcW()
case WM_DESTROY:
-LOGFREE(w, uiWindow)
uiFree(w);
break; // fall through to DefWindowProcW()
}
@@ -82,7 +81,7 @@ uiWindow *uiNewWindow(char *title, int width, int height)
WCHAR *wtitle;
w = uiNew(uiWindow);
-LOGALLOC(w, uiWindow)
+ // TODO move other cases of default events here relative
w->onClosing = defaultOnClosing;
adjust.left = 0;