(svn r24740) -Codechange: Remove duplicate members from QueryStringBaseWindow and directly use QueryString.

This commit is contained in:
frosch
2012-11-14 22:50:26 +00:00
parent 6653ac6b36
commit 6e6d94a2d1
11 changed files with 20 additions and 24 deletions

View File

@@ -383,7 +383,7 @@ struct NetworkChatWindow : public QueryStringBaseWindow {
void ChatTabCompletion()
{
static char _chat_tab_completion_buf[NETWORK_CHAT_LENGTH];
assert(this->edit_str_size == lengthof(_chat_tab_completion_buf));
assert(this->text.max_bytes == lengthof(_chat_tab_completion_buf));
Textbuf *tb = &this->text;
size_t len, tb_len;