summaryrefslogtreecommitdiff
path: root/textscreen/txt_inputbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'textscreen/txt_inputbox.c')
-rw-r--r--textscreen/txt_inputbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/textscreen/txt_inputbox.c b/textscreen/txt_inputbox.c
index 33775bb1..2798cce4 100644
--- a/textscreen/txt_inputbox.c
+++ b/textscreen/txt_inputbox.c
@@ -175,7 +175,7 @@ static int TXT_IntInputBoxKeyPress(TXT_UNCAST_ARG(inputbox), int key)
{
if (key == KEY_ENTER)
{
- SetBufferFromValue(inputbox);
+ strcpy(inputbox->buffer, "");
inputbox->editing = 1;
return 1;
}