Pad the reflector name and description to the correct size.
This commit is contained in:
parent
a3944b5b98
commit
519976995b
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue