fix: clear input_text before input result return

This commit is contained in:
Qingping Hou
2012-03-16 14:23:09 +08:00
parent 9eff3e3224
commit 46de106e8a

View File

@@ -249,5 +249,7 @@ function InputBox:input(ypos, height, title, d_text)
end -- if
end -- while
return self.input_string
local return_str = self.input_string
self.input_string = ""
return return_str
end