From 4059c6ec72ac8ff39743489acf0d938a5edebdfa Mon Sep 17 00:00:00 2001 From: "gergely.erdelyi" Date: Sat, 5 Apr 2008 10:26:43 +0000 Subject: [PATCH] idc.py: Fixed documentation for GetMarkedPos(), returns BADADDR on error --- python/idc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/idc.py b/python/idc.py index 1e9986e..cd2503d 100644 --- a/python/idc.py +++ b/python/idc.py @@ -4041,7 +4041,7 @@ def GetMarkedPos(slot): @param slot: slot number: 1..1024 if the specifed value is <= 0 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 """ curloc = idaapi.curloc()