From 95309affc06c3a40e5bb2b67d489161b5779aec9 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 12 Apr 2015 22:57:05 -0400 Subject: Fixed build issues. Now to fix runtime issues... --- new/tab_windows.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'new/tab_windows.c') diff --git a/new/tab_windows.c b/new/tab_windows.c index 5fd4989..854e5e8 100644 --- a/new/tab_windows.c +++ b/new/tab_windows.c @@ -78,7 +78,7 @@ static void resizeTab(uiControl *c, LONG width, LONG height) // convert to the display rectangle SendMessageW(hwnd, TCM_ADJUSTRECT, FALSE, (LPARAM) (&r)); - if (MoveWindow((HWND) uiParentHandle(t->pages[n].content), r.leftm r.top, r.right - r.left, r.bottom - r.top, TRUE) == 0) + if (MoveWindow((HWND) uiParentHandle(t->pages[n].content), r.left, r.top, r.right - r.left, r.bottom - r.top, TRUE) == 0) logLastError("error resizing current tab page in resizeTab()"); } @@ -87,6 +87,7 @@ static LRESULT CALLBACK tabSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM l { uiControl *c = (uiControl *) dwRefData; WINDOWPOS *wp = (WINDOWPOS *) lParam; + LRESULT lResult; switch (uMsg) { case WM_WINDOWPOSCHANGED: -- cgit v1.2.3