Pad the reflector name and description to the correct size.

This commit is contained in:
Jonathan Naylor 2016-09-30 11:39:32 +01:00 committed by GitHub
parent a3944b5b98
commit 519976995b

View file

@ -100,6 +100,9 @@ bool CReflectors::load()
refl->m_port = (unsigned int)::atoi(p5);
refl->m_count = std::string(p6);;
refl->m_name.resize(16U, ' ');
refl->m_desc.resize(14U, ' ');
m_reflectors.push_back(refl);
}
}