diff options
author | alberth <alberth@openttd.org> | 2009-11-22 18:26:01 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-11-22 18:26:01 +0000 |
commit | 2b6f79251372ba2ac8fd59a4de2ee604e96c34af (patch) | |
tree | b598b6189a44628b054ee2b20e0fa518abd5fdca /src/toolbar_gui.cpp | |
parent | e772ec1c977a0ddb5dba8a33a3fd02a0c59ea69f (diff) | |
download | openttd-2b6f79251372ba2ac8fd59a4de2ee604e96c34af.tar.xz |
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r-- | src/toolbar_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index 9379a11c4..f94a89969 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -914,8 +914,8 @@ public: { this->smallest_x = 0; // Biggest child this->smallest_y = 0; // Biggest child - this->fill_x = true; - this->fill_y = false; + this->fill_x = 1; + this->fill_y = 0; this->resize_x = 1; // We only resize in this direction this->resize_y = 0; // We never resize in this direction this->spacers = 0; |