mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-30 21:14:20 +01:00
idc.py: Fixed GetMemberStrId(). Thanks to nobodyzzz for the report.
This commit is contained in:
parent
a7726cbbd6
commit
70e5a9a55c
@ -4560,7 +4560,7 @@ def GetMemberStrId(sid, member_offset):
|
|||||||
if not m:
|
if not m:
|
||||||
return -1
|
return -1
|
||||||
|
|
||||||
cs = idaapi.get_member_struc(m)
|
cs = idaapi.get_sptr(m)
|
||||||
if cs:
|
if cs:
|
||||||
return cs.id
|
return cs.id
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user