summaryrefslogtreecommitdiff
path: root/src/widget.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-08-14 17:11:59 +0000
committersmatz <smatz@openttd.org>2009-08-14 17:11:59 +0000
commitc5533ae4708d85dcdff8e53515e17ab593f7f361 (patch)
tree8fd6af1f0c5acb1263bb85643a19f5516a6822a5 /src/widget.cpp
parent3108ff7ac667edf872ee96c6331f0f45e5253d98 (diff)
downloadopenttd-c5533ae4708d85dcdff8e53515e17ab593f7f361.tar.xz
(svn r17168) -Codechange: apply coding style to if and while statements
Diffstat (limited to 'src/widget.cpp')
-rw-r--r--src/widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.cpp b/src/widget.cpp
index 54ac5db72..4ac79afa2 100644
--- a/src/widget.cpp
+++ b/src/widget.cpp
@@ -1104,7 +1104,7 @@ void NWidgetCore::StoreWidgets(Widget *widgets, int length, bool left_moving, bo
/* Compute vertical resizing. */
if (top_moving) {
flags |= RESIZE_TB; // Only 1 widget can resize in the widget array.
- } else if(this->resize_y > 0) {
+ } else if (this->resize_y > 0) {
flags |= RESIZE_BOTTOM;
}
/* Compute horizontal resizing. */