Changeset - r9226:2748f062ee3d
[Not reviewed]
master
0 1 0
glx - 16 years ago 2008-05-14 19:08:09
glx@openttd.org
(svn r13092) -Fix (r13042): don't add a variable in a subclass when the parent class already have it
1 file changed with 2 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/misc_gui.cpp
Show inline comments
 
@@ -997,10 +997,9 @@ enum QueryStringWidgets {
 

	
 
struct QueryStringWindow : public QueryStringBaseWindow
 
{
 
	Window *parent;
 

	
 
	QueryStringWindow(const WindowDesc *desc, Window *parent) : QueryStringBaseWindow(desc), parent(parent)
 
	QueryStringWindow(const WindowDesc *desc, Window *parent) : QueryStringBaseWindow(desc)
 
	{
 
		this->parent = parent;
 
		SetBit(_no_scroll, SCROLL_EDIT);
 

	
 
		this->FindWindowPlacementAndResize(desc);
0 comments (0 inline, 0 general)