Skip to content

Commit

Permalink
Bug fixes Issue #22
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Marcelli committed Oct 23, 2020
1 parent 1e8b68f commit cb3ffc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ghida_plugin/idaxml.py
Original file line number Diff line number Diff line change
Expand Up @@ -1575,9 +1575,9 @@ def export_stack_vars(self, function, sframe):
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
Expand Down

0 comments on commit cb3ffc8

Please sign in to comment.