1
0
Fork 0

src/Viewer/splash.cxx: added some missing braces for clarity.

This commit is contained in:
Julian Smith 2022-03-18 22:35:18 +00:00
parent 662dad0848
commit 04ee8d95f5

View file

@ -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(),