Skip to content

Commit c963301

Browse files
committed
fix always on top menu option
1 parent c62bc10 commit c963301

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

progmgr/desktop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ HWND CreateListView(HWND hWndParent, RECT rc)
173173
{
174174
HWND hWndListView;
175175
LVITEM lviTestItem;
176-
//WCHAR szTestItem[20] = L"Test Item\0";
176+
//WCHAR szTestItem[] = L"Test Item\0";
177177

178178
// Create the ListView
179179
hWndListView = CreateWindowEx(WS_EX_LEFT, WC_LISTVIEW, L"",

progmgr/wndproc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ LRESULT CALLBACK CmdProc(HWND hWnd, WPARAM wParam, LPARAM lParam)
141141

142142
case IDM_OPTIONS_TOPMOST:
143143
bTopMost = !bTopMost;
144-
SetWindowPos(hWndProgMgr, bTopMost ? HWND_TOPMOST : HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOZORDER | SWP_NOSIZE);
144+
SetWindowPos(hWndProgMgr, bTopMost ? HWND_TOPMOST : HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
145145
UpdateChecks(bTopMost, IDM_OPTIONS, IDM_OPTIONS_TOPMOST);
146146
goto SaveConfig;
147147

0 commit comments

Comments
 (0)