idc.py: Fixed documentation for GetMarkedPos(), returns BADADDR on error

This commit is contained in:
gergely.erdelyi 2008-04-05 10:26:43 +00:00
parent ef44c5f123
commit 4059c6ec72

View File

@ -4041,7 +4041,7 @@ def GetMarkedPos(slot):
@param slot: slot number: 1..1024 if the specifed value is <= 0 @param slot: slot number: 1..1024 if the specifed value is <= 0
range, IDA will ask the user to select slot. range, IDA will ask the user to select slot.
@return: -1 - the slot doesn't contain a marked address @return: BADADDR - the slot doesn't contain a marked address
otherwise returns the marked address otherwise returns the marked address
""" """
curloc = idaapi.curloc() curloc = idaapi.curloc()