Skip to content

Commit 8afc272

Browse files
committed
1) Fix size number recognize for "Create simple struct"
1 parent 94d0d54 commit 8afc272

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

HexRaysPyTools/callbacks/create_struct.py

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def activate(self, ctx):
107107
vdui = idaapi.get_widget_vdui(ctx.widget)
108108
vdui.get_current_item(idaapi.USE_KEYBOARD)
109109
struc_size = 0
110+
size_str = "0"
110111
if vdui.item.is_citem() and vdui.item.it.is_expr():
111112
target_item = vdui.item.e
112113
if target_item.opname == "num":

0 commit comments

Comments
 (0)