diff options
author | Simon Howard | 2006-08-31 18:09:17 +0000 |
---|---|---|
committer | Simon Howard | 2006-08-31 18:09:17 +0000 |
commit | e9376daee45b53ec5a027244c3561fdbd6818fe6 (patch) | |
tree | 64c4e14eeaeefbd0ac600c781c42cac343cac78b | |
parent | e5d6ce3318a59a18f25a632fa5ba0fd6801d7a3f (diff) | |
download | chocolate-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.c | 1 |
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; } |