diff --git a/GhidraBuild/IDAPro/Python/7xx/python/idaxml.py b/GhidraBuild/IDAPro/Python/7xx/python/idaxml.py index 5a88be0742..0b7e8e67e6 100644 --- a/GhidraBuild/IDAPro/Python/7xx/python/idaxml.py +++ b/GhidraBuild/IDAPro/Python/7xx/python/idaxml.py @@ -3111,11 +3111,11 @@ class XmlImporter(IdaXml): """ regcmt = member.find(REGULAR_CMT) if regcmt != None: - idc.set_member_cmt(mbr, regcmt.text, False) + ida_struct.set_member_cmt(mbr, regcmt.text, False) self.update_counter(MEMBER + ':' + REGULAR_CMT) rptcmt = member.find(REPEATABLE_CMT) if rptcmt != None: - idc.set_member_cmt(mbr, rptcmt.text, True) + ida_struct.set_member_cmt(mbr, rptcmt.text, True) self.update_counter(MEMBER + ':' + REPEATABLE_CMT)