comparison src/network/network_gui.cpp @ 17593:fc000097d463 draft

(svn r22357) -Fix (r22345): crash when opening the chat box or company password input box
author smatz <smatz@openttd.org>
date Fri, 22 Apr 2011 15:03:08 +0000
parents 105b4e4eb168
children 386ff2bf4d4e
comparison
equal deleted inserted replaced
17592:1d40bb48ab9e 17593:fc000097d463
2222 { 2222 {
2223 this->InitNested(desc, 0); 2223 this->InitNested(desc, 0);
2224 2224
2225 this->parent = parent; 2225 this->parent = parent;
2226 this->afilter = CS_ALPHANUMERAL; 2226 this->afilter = CS_ALPHANUMERAL;
2227 InitializeTextBuffer(&this->text, this->edit_str_buf, this->edit_str_size, 0); 2227 InitializeTextBuffer(&this->text, this->edit_str_buf, this->edit_str_size);
2228 this->SetFocusedWidget(NCPWW_PASSWORD); 2228 this->SetFocusedWidget(NCPWW_PASSWORD);
2229 } 2229 }
2230 2230
2231 void OnOk() 2231 void OnOk()
2232 { 2232 {