From e9376daee45b53ec5a027244c3561fdbd6818fe6 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 31 Aug 2006 18:09:17 +0000 Subject: Initialise string input boxes to not editing Subversion-branch: /trunk/chocolate-doom Subversion-revision: 571 --- textscreen/txt_inputbox.c | 1 + 1 file changed, 1 insertion(+) (limited to 'textscreen') 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; } -- cgit v1.2.3