idd.i: dbg_can_query() was returning false when called from a bpt condition

idc.py: AskStr() was calling idaapi.askstr w/ wrong parameter
This commit is contained in:
elias.bachaalany
2010-05-13 09:36:56 +00:00
parent 5cede13626
commit 7da6dd916c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2837,7 +2837,7 @@ def AskStr(defval, prompt):
@return: the entered string or 0.
"""
return idaapi.askstr(idaapi.HIST_IDENT, defval, prompt)
return idaapi.askstr(0, defval, prompt)
def AskFile(forsave, mask, prompt):