Skip to content

Commit

Permalink
Fix missing context menu (issue #301)
Browse files Browse the repository at this point in the history
Signed-off-by: Tino Reichardt <[email protected]>
  • Loading branch information
mcmilk committed Feb 21, 2023
1 parent 4fae369 commit 36c2a9c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions C/7zVersion.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#define MY_VER_MAJOR 22
#define MY_VER_MINOR 01
#define MY_VER_BUILD 02
#define MY_VERSION_NUMBERS "22.01 ZS v1.5.4 R2"
#define MY_VER_BUILD 03
#define MY_VERSION_NUMBERS "22.01 ZS v1.5.4 R3"
#define MY_VERSION MY_VERSION_NUMBERS

#ifdef MY_CPU_NAME
Expand All @@ -10,7 +10,7 @@
#define MY_VERSION_CPU MY_VERSION
#endif

#define MY_DATE "2023-02-18"
#define MY_DATE "2023-02-21"
#undef MY_COPYRIGHT
#undef MY_VERSION_COPYRIGHT_DATE
#define MY_AUTHOR_NAME "Igor Pavlov, Tino Reichardt"
Expand Down
4 changes: 2 additions & 2 deletions CPP/7zip/UI/Explorer/ContextMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ STDMETHODIMP CZipContextMenu::QueryContextMenu(HMENU hMenu, UINT indexMenu,
CMenu menu;
menu.Attach(hMenu);
menuDestroyer.Disable();
MyAddSubMenu(_commandMap, kCheckSumCascadedVerb, menu, indexMenu++, currentCommandID++, (UString)"7-Zip ZS",
MyAddSubMenu(_commandMap, kMainVerb, menu, indexMenu++, currentCommandID++, (UString)"7-Zip ZS",
popupMenu, // popupMenu.Detach(),
bitmap);
}
Expand Down Expand Up @@ -927,7 +927,7 @@ STDMETHODIMP CZipContextMenu::QueryContextMenu(HMENU hMenu, UINT indexMenu,
menu.Attach(hMenu);
// menuDestroyer_CRC.Disable();
}
MyAddSubMenu(_commandMap, kCheckSumCascadedVerb, menu, indexInParent++, currentCommandID++, (UString)"CRC SHA", subMenu,
MyAddSubMenu(_commandMap, kCheckSumCascadedVerb, menu, indexInParent++, currentCommandID++, (UString)"7-Zip ZS Hash", subMenu,
/* insertHashMenuTo7zipMenu ? NULL : */ bitmap);
_commandMap.Back().CtxCommandType = CtxCommandType_CrcRoot;
if (!insertHashMenuTo7zipMenu)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ You find this project useful, maybe you consider a donation ;-)
- [Zstandard] Version 1.5.4
- [BLAKE3] Version 0.3.7

/TR 2023-02-18
/TR 2023-02-21

## Notes

Expand Down

0 comments on commit 36c2a9c

Please sign in to comment.