src/Viewer/splash.cxx: added some missing braces for clarity.
This commit is contained in:
parent
662dad0848
commit
04ee8d95f5
1 changed files with 2 additions and 2 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue