diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-07 03:12:34 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-07 03:12:34 -0400 |
| commit | c4045909606cbc7733846ef7ca482d27bddd2e30 (patch) | |
| tree | 6fe708a9bc6a0092b746fb3c42610d34f3e811ec /new/window_windows.c | |
| parent | a3c26ff6522d5f383e011f4a2a2ff702dd855171 (diff) | |
Fixed build issues. Now I just need to hook resizing into uiWindow and implement a control and we'll be set...
Diffstat (limited to 'new/window_windows.c')
| -rw-r--r-- | new/window_windows.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/new/window_windows.c b/new/window_windows.c index aac61db..c0ca6c3 100644 --- a/new/window_windows.c +++ b/new/window_windows.c @@ -14,7 +14,7 @@ static LRESULT CALLBACK uiWindowWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPA { uiWindow *w; CREATESTRUCTW *cs = (CREATESTRUCTW *) lParam; - LRESULT lr; + LRESULT lResult; w = (uiWindow *) GetWindowLongPtrW(hwnd, GWLP_USERDATA); if (w == NULL) { @@ -23,7 +23,7 @@ static LRESULT CALLBACK uiWindowWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPA // fall through to DefWindowProc() anyway return DefWindowProcW(hwnd, uMsg, wParam, lParam); } - if (sharedWindowProc(hwnd, uMsg, wParam, lParam, &lResult) != FALSE) + if (sharedWndProc(hwnd, uMsg, wParam, lParam, &lResult) != FALSE) return lResult; switch (uMsg) { case WM_CLOSE: |
