Skip to content

Commit

Permalink
Initialise string input boxes to not editing
Browse files Browse the repository at this point in the history
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 571
  • Loading branch information
fragglet committed Aug 31, 2006
1 parent e5d6ce3 commit e9376da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions textscreen/txt_inputbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e9376da

Please sign in to comment.