diff --git a/progmgr/desktop.c b/progmgr/desktop.c index d2d7f74..ed4ca81 100644 --- a/progmgr/desktop.c +++ b/progmgr/desktop.c @@ -173,7 +173,7 @@ HWND CreateListView(HWND hWndParent, RECT rc) { HWND hWndListView; LVITEM lviTestItem; - //WCHAR szTestItem[20] = L"Test Item\0"; + //WCHAR szTestItem[] = L"Test Item\0"; // Create the ListView hWndListView = CreateWindowEx(WS_EX_LEFT, WC_LISTVIEW, L"", diff --git a/progmgr/wndproc.c b/progmgr/wndproc.c index 855e0f6..1e807e7 100644 --- a/progmgr/wndproc.c +++ b/progmgr/wndproc.c @@ -141,7 +141,7 @@ LRESULT CALLBACK CmdProc(HWND hWnd, WPARAM wParam, LPARAM lParam) case IDM_OPTIONS_TOPMOST: bTopMost = !bTopMost; - SetWindowPos(hWndProgMgr, bTopMost ? HWND_TOPMOST : HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOZORDER | SWP_NOSIZE); + SetWindowPos(hWndProgMgr, bTopMost ? HWND_TOPMOST : HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); UpdateChecks(bTopMost, IDM_OPTIONS, IDM_OPTIONS_TOPMOST); goto SaveConfig;