(svn r22357) -Fix (r22345): crash when opening the chat box or company password input box
This commit is contained in:
@@ -2224,7 +2224,7 @@ struct NetworkCompanyPasswordWindow : public QueryStringBaseWindow {
|
||||
|
||||
this->parent = parent;
|
||||
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);
|
||||
this->SetFocusedWidget(NCPWW_PASSWORD);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user