mirror of
https://github.com/cemu-project/idapython.git
synced 2024-12-28 18:51:53 +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:
|
||||
return -1
|
||||
|
||||
cs = idaapi.get_member_struc(m)
|
||||
cs = idaapi.get_sptr(m)
|
||||
if cs:
|
||||
return cs.id
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user