idc.py: Fixed GetMemberStrId(). Thanks to nobodyzzz for the report.

This commit is contained in:
gergely.erdelyi 2008-09-27 13:35:56 +00:00
parent a7726cbbd6
commit 70e5a9a55c

View File

@ -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: