summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.
}