changeset 15273:e492a4c95cd8 draft

(svn r19908) -Codechange: Use a boolean value to assign to a boolean variable.
author alberth <alberth@openttd.org>
date Sun, 30 May 2010 12:40:40 +0000
parents a3d5536488ff
children e81d5697d8aa
files src/window.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -1285,7 +1285,7 @@
 	_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.
 }