summaryrefslogtreecommitdiff
path: root/src/querystring_gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-08 13:35:45 +0000
committerrubidium <rubidium@openttd.org>2009-11-08 13:35:45 +0000
commit4c06a9e549b938c6cea3d0fa6283447320ac89a3 (patch)
tree2a3dad55cd6365788a202019aa3ab23f5d7f208d /src/querystring_gui.h
parent6ca8f6e38025c9a7b484ffee669f27fad7ceb32d (diff)
downloadopenttd-4c06a9e549b938c6cea3d0fa6283447320ac89a3.tar.xz
(svn r18012) -Codechange: make the world generation windows nested; they'll need some tweaks to use the full potential though
Diffstat (limited to 'src/querystring_gui.h')
-rw-r--r--src/querystring_gui.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/querystring_gui.h b/src/querystring_gui.h
index 5ce383e74..494e38c8e 100644
--- a/src/querystring_gui.h
+++ b/src/querystring_gui.h
@@ -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);