From 4867b405a94214e7998aebdb1d46586829a26a0d Mon Sep 17 00:00:00 2001 From: "elias.bachaalany" Date: Tue, 10 Aug 2010 11:45:36 +0000 Subject: [PATCH] idc.py: Til2Idb() was broken --- python/idc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/idc.py b/python/idc.py index a7a44d8..f5c8ecb 100644 --- a/python/idc.py +++ b/python/idc.py @@ -6170,7 +6170,7 @@ def Til2Idb(idx, type_name): @return: BADNODE-failed, otherwise the type id (structure id or enum id) """ - return idaapi.til2idb(idx, type_name) + return idaapi.import_type(idaapi.cvar.idati, idx, type_name) def GetType(ea):