summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-16 10:03:31 -0400
committerPietro Gagliardi <[email protected]>2015-04-16 10:03:31 -0400
commit79ef30c8775cb05446046bd63af25a18df1d3238 (patch)
treee5b7e4cd982769eecce593c0fae62738b8acedf8
parent4679dd51aac37608e8b966bec9c95844588e6cf5 (diff)
Fixed warnings in the Windows backend. That just leaves the Mac OS X one...
-rw-r--r--new/windows/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/new/windows/window.c b/new/windows/window.c
index 81fd8ca..e9360eb 100644
--- a/new/windows/window.c
+++ b/new/windows/window.c
@@ -41,7 +41,7 @@ static LRESULT CALLBACK uiWindowWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPA
logLastError("error resizing window content parent in uiWindowWndProc()");
return 0;
case WM_CLOSE:
- if (!(*(w->onClosing))(w, w->onClosingData))
+ if (!(*(w->onClosing))(uiWindow(w), w->onClosingData))
return 0;
break; // fall through to DefWindowProcW()
case WM_DESTROY: