mirror of
https://github.com/oe7drt/YSFClients.git
synced 2026-02-23 07:34:39 +01:00
Merge pull request #139 from AndyTaylorTweet/patch-1
Update YSFReflectors.cpp
This commit is contained in:
commit
9495bb203b
|
|
@ -277,6 +277,9 @@ CYSFReflector* CYSFReflectors::findById(const std::string& id)
|
|||
CYSFReflector* CYSFReflectors::findByName(const std::string& name)
|
||||
{
|
||||
std::string fullName = name;
|
||||
if (m_makeUpper) {
|
||||
std::transform(fullName.begin(), fullName.end(), fullName.begin(), ::toupper);
|
||||
}
|
||||
fullName.resize(16U, ' ');
|
||||
|
||||
for (std::vector<CYSFReflector*>::const_iterator it = m_currReflectors.cbegin(); it != m_currReflectors.cend(); ++it) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue