summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-05-30 12:40:40 +0000
committeralberth <alberth@openttd.org>2010-05-30 12:40:40 +0000
commitef353f69cac6eeef1ce0fc6c7de118479536105d (patch)
tree684048712c953eaebc51db93c1abe09dab44bcb4 /src
parent0960e0c4f20e7803b690dd8f6413fe50b0002ff3 (diff)
downloadopenttd-ef353f69cac6eeef1ce0fc6c7de118479536105d.tar.xz
(svn r19908) -Codechange: Use a boolean value to assign to a boolean variable.
Diffstat (limited to 'src')
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 5779bd6f9..2cc7b08a7 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -1285,7 +1285,7 @@ void InitWindowSystem()
_z_front_window = NULL;
_focused_window = NULL;
_mouseover_last_w = NULL;
- _scrolling_viewport = 0;
+ _scrolling_viewport = false;
NWidgetLeaf::InvalidateDimensionCache(); // Reset cached sizes of several widgets.
}