Skip to content

Commit

Permalink
src 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cafali authored Aug 21, 2024
1 parent 8b223c0 commit 0ba527d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SnapKey.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,9 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
// Create a context menu
HMENU hMenu = CreatePopupMenu();
AppendMenu(hMenu, MF_STRING, ID_TRAY_REBIND_KEYS, TEXT("Rebind Keys"));
AppendMenu(hMenu, MF_STRING, ID_TRAY_VERSION_INFO, TEXT("Version Info"));
AppendMenu(hMenu, MF_SEPARATOR, 0, NULL);
AppendMenu(hMenu, MF_STRING | (isLocked ? MF_CHECKED : MF_UNCHECKED), ID_TRAY_LOCK_FUNCTION, TEXT("Disable SnapKey"));
AppendMenu(hMenu, MF_SEPARATOR, 0, NULL);
AppendMenu(hMenu, MF_STRING, ID_TRAY_VERSION_INFO, TEXT("Version Info"));
AppendMenu(hMenu, MF_STRING, ID_TRAY_EXIT_CONTEXT_MENU_ITEM, TEXT("Exit SnapKey"));

// Display the context menu
Expand Down

0 comments on commit 0ba527d

Please sign in to comment.