Skip to content

Commit

Permalink
Code style fixes in infoblock.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbi committed Dec 29, 2023
1 parent b11850c commit daddb62
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/object/infoblock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ InfoBlock::InfoBlock(const ReaderMapping& mapping) :
{
log_warning << "No message in InfoBlock" << std::endl;
}
std::vector<float> m_frontcolor_;
if (mapping.get("frontcolor", m_frontcolor_))
std::vector<float> front_color;
if (mapping.get("frontcolor", front_color))
{
m_frontcolor = Color(m_frontcolor_);
m_frontcolor = Color(front_color);
}
std::vector<float> m_backcolor_;
if (mapping.get("backcolor", m_backcolor_))
std::vector<float> back_color;
if (mapping.get("backcolor", back_color))
{
m_backcolor = Color(m_backcolor_);
m_backcolor = Color(back_color);
}
mapping.get("roundness", m_roundness, 0.f);
mapping.get("fadetransition", m_fadetransition, true);
Expand Down

0 comments on commit daddb62

Please sign in to comment.