From 04ee8d95f5938114dfe67d0bd33aa489f14bb320 Mon Sep 17 00:00:00 2001 From: Julian Smith Date: Fri, 18 Mar 2022 22:35:18 +0000 Subject: [PATCH] src/Viewer/splash.cxx: added some missing braces for clarity. --- src/Viewer/splash.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Viewer/splash.cxx b/src/Viewer/splash.cxx index bdac741d9..e128e6e08 100644 --- a/src/Viewer/splash.cxx +++ b/src/Viewer/splash.cxx @@ -580,13 +580,13 @@ void SplashScreen::doUpdate() _splashFSQuadColor->dirty(); for (const TextItem& item : _items) { - if (item.condition != nullptr) + if (item.condition != nullptr) { if (item.condition->test()) item.textNode->setDrawMode(item.drawMode); else item.textNode->setDrawMode(0); - + } if (item.dynamicContent) { item.textNode->setText( item.dynamicContent->getStringValue(),