idc.py: Default strtype argument in GetString no longer breaks the whole script

This commit is contained in:
gergely.erdelyi 2010-04-26 19:51:58 +00:00
parent dc20f63143
commit 1757dec387

View File

@ -2252,7 +2252,7 @@ def AltOp(ea, n):
return idaapi.get_forced_operand(ea, n)
def GetString(ea, length = -1, strtype = ASCSTR_C):
def GetString(ea, length = -1, strtype = idaapi.ASCSTR_TERMCHR):
"""
Get string contents
@param ea: linear address