AskString always set the dialog id to 257. Fixed.

This commit is contained in:
Jack Jansen 1999-10-05 08:54:17 +00:00
parent a5a24b76f4
commit 231fffe1d4

View file

@ -72,7 +72,6 @@ def AskString(prompt, default = "", id=257, ok=None, cancel=None):
can be at most 255 characters long.
"""
id = 257
d = GetNewDialog(id, -1)
if not d:
print "Can't get DLOG resource with id =", id