diff options
author | alberth <alberth@openttd.org> | 2010-05-30 12:40:40 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-05-30 12:40:40 +0000 |
commit | ef353f69cac6eeef1ce0fc6c7de118479536105d (patch) | |
tree | 684048712c953eaebc51db93c1abe09dab44bcb4 /src | |
parent | 0960e0c4f20e7803b690dd8f6413fe50b0002ff3 (diff) | |
download | openttd-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.cpp | 2 |
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. } |