1
0
Fork 0

Pad the reflector name and description to the correct size.

ycs232-kbc
Jonathan Naylor 8 years ago committed by GitHub
parent a3944b5b98
commit 519976995b

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

Loading…
Cancel
Save