idc.py: Til2Idb() was broken

This commit is contained in:
elias.bachaalany 2010-08-10 11:45:36 +00:00
parent f216eb9a6d
commit 4867b405a9

View File

@ -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):