From 2915b6a3944059cb264b5bbfefd1b12ef31a0c0e Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 13 Apr 2023 13:20:05 +0100 Subject: [PATCH] Fix a compiler warning --- src/GUI/gui.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI/gui.cxx b/src/GUI/gui.cxx index 9ba51ad14..bcdb4c0b5 100644 --- a/src/GUI/gui.cxx +++ b/src/GUI/gui.cxx @@ -219,7 +219,7 @@ bool guiInit(osg::GraphicsContext* gc) void syncPausePopupState() { - bool paused = fgGetBool("/sim/freeze/master",true) | fgGetBool("/sim/freeze/clock",true); + bool paused = fgGetBool("/sim/freeze/master",true) || fgGetBool("/sim/freeze/clock",true); SGPropertyNode_ptr args(new SGPropertyNode); args->setStringValue("id", "sim-pause"); if (paused && fgGetBool("/sim/view-name-popup")) {