(svn r22357) -Fix (r22345): crash when opening the chat box or company password input box

This commit is contained in:
smatz
2011-04-22 15:03:08 +00:00
parent 176ae86943
commit a932afb7f1
2 changed files with 2 additions and 2 deletions

View File

@@ -288,7 +288,7 @@ struct NetworkChatWindow : public QueryStringBaseWindow {
this->dtype = type;
this->dest = dest;
this->afilter = CS_ALPHANUMERAL;
InitializeTextBuffer(&this->text, this->edit_str_buf, this->edit_str_size, 0);
InitializeTextBuffer(&this->text, this->edit_str_buf, this->edit_str_size);
static const StringID chat_captions[] = {
STR_NETWORK_CHAT_ALL_CAPTION,