Skip to content

Commit 36c2a9c

Browse files
committed
Fix missing context menu (issue #301)
Signed-off-by: Tino Reichardt <[email protected]>
1 parent 4fae369 commit 36c2a9c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

C/7zVersion.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#define MY_VER_MAJOR 22
22
#define MY_VER_MINOR 01
3-
#define MY_VER_BUILD 02
4-
#define MY_VERSION_NUMBERS "22.01 ZS v1.5.4 R2"
3+
#define MY_VER_BUILD 03
4+
#define MY_VERSION_NUMBERS "22.01 ZS v1.5.4 R3"
55
#define MY_VERSION MY_VERSION_NUMBERS
66

77
#ifdef MY_CPU_NAME
@@ -10,7 +10,7 @@
1010
#define MY_VERSION_CPU MY_VERSION
1111
#endif
1212

13-
#define MY_DATE "2023-02-18"
13+
#define MY_DATE "2023-02-21"
1414
#undef MY_COPYRIGHT
1515
#undef MY_VERSION_COPYRIGHT_DATE
1616
#define MY_AUTHOR_NAME "Igor Pavlov, Tino Reichardt"

CPP/7zip/UI/Explorer/ContextMenu.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ STDMETHODIMP CZipContextMenu::QueryContextMenu(HMENU hMenu, UINT indexMenu,
883883
CMenu menu;
884884
menu.Attach(hMenu);
885885
menuDestroyer.Disable();
886-
MyAddSubMenu(_commandMap, kCheckSumCascadedVerb, menu, indexMenu++, currentCommandID++, (UString)"7-Zip ZS",
886+
MyAddSubMenu(_commandMap, kMainVerb, menu, indexMenu++, currentCommandID++, (UString)"7-Zip ZS",
887887
popupMenu, // popupMenu.Detach(),
888888
bitmap);
889889
}
@@ -927,7 +927,7 @@ STDMETHODIMP CZipContextMenu::QueryContextMenu(HMENU hMenu, UINT indexMenu,
927927
menu.Attach(hMenu);
928928
// menuDestroyer_CRC.Disable();
929929
}
930-
MyAddSubMenu(_commandMap, kCheckSumCascadedVerb, menu, indexInParent++, currentCommandID++, (UString)"CRC SHA", subMenu,
930+
MyAddSubMenu(_commandMap, kCheckSumCascadedVerb, menu, indexInParent++, currentCommandID++, (UString)"7-Zip ZS Hash", subMenu,
931931
/* insertHashMenuTo7zipMenu ? NULL : */ bitmap);
932932
_commandMap.Back().CtxCommandType = CtxCommandType_CrcRoot;
933933
if (!insertHashMenuTo7zipMenu)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ You find this project useful, maybe you consider a donation ;-)
297297
- [Zstandard] Version 1.5.4
298298
- [BLAKE3] Version 0.3.7
299299

300-
/TR 2023-02-18
300+
/TR 2023-02-21
301301

302302
## Notes
303303

0 commit comments

Comments
 (0)