From 50197f04eda411d1d0b514cfc05326810bd35212 Mon Sep 17 00:00:00 2001 From: Ted John Date: Sat, 6 May 2017 21:33:23 +0100 Subject: [PATCH] Fix boolean warning --- src/openrct2-ui/UiContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2-ui/UiContext.cpp b/src/openrct2-ui/UiContext.cpp index 495e5597a3..3ff009bc37 100644 --- a/src/openrct2-ui/UiContext.cpp +++ b/src/openrct2-ui/UiContext.cpp @@ -155,7 +155,7 @@ public: bool HasFocus() override { uint32 windowFlags = GetWindowFlags(); - return (windowFlags & SDL_WINDOW_INPUT_FOCUS); + return (windowFlags & SDL_WINDOW_INPUT_FOCUS) != 0; } bool IsMinimised() override