mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
fixed parsing of popup menu item names in PE menu resources
This commit is contained in:
parent
3e245c6f80
commit
219e74c8ac
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ public class MenuResourceDataType extends DynamicDataType {
|
|||
int tempOffset, short mtOption) {
|
||||
|
||||
//If it is a popup there is only an option field, no ID field
|
||||
if (mtOption == MF_POPUP) {
|
||||
if ((mtOption & MF_POPUP) == MF_POPUP) {
|
||||
tempOffset =
|
||||
addComp(WordDataType.dataType, 2, "mtOption", memBuffer.getAddress(), comps,
|
||||
tempOffset);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue