(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

@@ -1356,7 +1356,7 @@ struct AIDebugWindow : public QueryStringBaseWindow {
{
if (wid == WID_AID_BREAK_STR_EDIT_BOX) {
/* Save the current string to static member so it can be restored next time the window is opened. */
strecpy(this->break_string, this->edit_str_buf, lastof(this->break_string));
strecpy(this->break_string, this->text.buf, lastof(this->break_string));
break_string_filter.SetFilterTerm(this->break_string);
}
}