From 8c2810d092d2d4bbdf7f485186362be4a4ca3f0f Mon Sep 17 00:00:00 2001 From: chenzitai Date: Wed, 4 Aug 2021 17:37:19 +0100 Subject: [PATCH] remove extra parameter in idaxml(tag_remove) --- GhidraBuild/IDAPro/Python/7xx/python/idaxml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GhidraBuild/IDAPro/Python/7xx/python/idaxml.py b/GhidraBuild/IDAPro/Python/7xx/python/idaxml.py index 81329a60a1..c0d41d2701 100644 --- a/GhidraBuild/IDAPro/Python/7xx/python/idaxml.py +++ b/GhidraBuild/IDAPro/Python/7xx/python/idaxml.py @@ -1550,9 +1550,9 @@ class XmlExporter(IdaXml): regcmt = ida_struct.get_member_cmt(member.id, False) rptcmt = ida_struct.get_member_cmt(member.id, True) if regcmt != None: - regcmt = ida_lines.tag_remove(regcmt + " ", 0) + regcmt = ida_lines.tag_remove(regcmt + " ") if rptcmt != None: - rptrcmt = ida_lines.tag_remove(rptcmt + " ", 0) + rptrcmt = ida_lines.tag_remove(rptcmt + " ") has_regcmt = regcmt != None and len(regcmt) > 0 has_rptcmt = rptcmt != None and len(rptcmt) > 0 has_content = has_regcmt or has_rptcmt