(svn r18012) -Codechange: make the world generation windows nested; they'll need some tweaks to use the full potential though

This commit is contained in:
rubidium
2009-11-08 13:35:45 +00:00
parent 1bd8a982d5
commit 9e39af5230
55 changed files with 84 additions and 376 deletions

View File

@@ -69,12 +69,6 @@ struct QueryStringBaseWindow : public Window, public QueryString {
this->edit_str_buf = CallocT<char>(size);
}
QueryStringBaseWindow(uint16 size, const WindowDesc *desc, WindowNumber window_number = 0) : Window(desc, window_number), edit_str_size(size)
{
assert(size != 0);
this->edit_str_buf = CallocT<char>(size);
}
~QueryStringBaseWindow()
{
free(this->edit_str_buf);