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();
|
_splashFSQuadColor->dirty();
|
||||||
|
|
||||||
for (const TextItem& item : _items) {
|
for (const TextItem& item : _items) {
|
||||||
if (item.condition != nullptr)
|
if (item.condition != nullptr) {
|
||||||
|
|
||||||
if (item.condition->test())
|
if (item.condition->test())
|
||||||
item.textNode->setDrawMode(item.drawMode);
|
item.textNode->setDrawMode(item.drawMode);
|
||||||
else
|
else
|
||||||
item.textNode->setDrawMode(0);
|
item.textNode->setDrawMode(0);
|
||||||
|
}
|
||||||
if (item.dynamicContent) {
|
if (item.dynamicContent) {
|
||||||
item.textNode->setText(
|
item.textNode->setText(
|
||||||
item.dynamicContent->getStringValue(),
|
item.dynamicContent->getStringValue(),
|
||||||
|
|
Loading…
Reference in a new issue