shithub: choc

Download patch

ref: e9376daee45b53ec5a027244c3561fdbd6818fe6
parent: e5d6ce3318a59a18f25a632fa5ba0fd6801d7a3f
author: Simon Howard <[email protected]>
date: Thu Aug 31 14:09:17 EDT 2006

Initialise string input boxes to not editing

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 571

--- a/textscreen/txt_inputbox.c
+++ b/textscreen/txt_inputbox.c
@@ -257,6 +257,7 @@
     inputbox->value = value;
     inputbox->size = size;
     inputbox->buffer = malloc(size + 1);
+    inputbox->editing = 0;
 
     return inputbox;
 }