summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2006-08-31 18:09:17 +0000
committerSimon Howard2006-08-31 18:09:17 +0000
commite9376daee45b53ec5a027244c3561fdbd6818fe6 (patch)
tree64c4e14eeaeefbd0ac600c781c42cac343cac78b
parente5d6ce3318a59a18f25a632fa5ba0fd6801d7a3f (diff)
downloadchocolate-doom-e9376daee45b53ec5a027244c3561fdbd6818fe6.tar.gz
chocolate-doom-e9376daee45b53ec5a027244c3561fdbd6818fe6.tar.bz2
chocolate-doom-e9376daee45b53ec5a027244c3561fdbd6818fe6.zip
Initialise string input boxes to not editing
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 571
-rw-r--r--textscreen/txt_inputbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/textscreen/txt_inputbox.c b/textscreen/txt_inputbox.c
index 59d62da3..16e423d1 100644
--- a/textscreen/txt_inputbox.c
+++ b/textscreen/txt_inputbox.c
@@ -257,6 +257,7 @@ txt_inputbox_t *TXT_NewInputBox(char **value, int size)
inputbox->value = value;
inputbox->size = size;
inputbox->buffer = malloc(size + 1);
+ inputbox->editing = 0;
return inputbox;
}