New NXDN Id lookup file.

This commit is contained in:
Jonathan Naylor
2018-02-06 18:38:29 +00:00
parent 0ed7972ee7
commit 54267967e2
4 changed files with 411 additions and 408 deletions

View File

@@ -137,10 +137,12 @@ bool CNXDNLookup::load()
if (p1 != NULL && p2 != NULL) {
unsigned int id = (unsigned int)::atoi(p1);
for (char* p = p2; *p != 0x00U; p++)
*p = ::toupper(*p);
if (id > 0U) {
for (char* p = p2; *p != 0x00U; p++)
*p = ::toupper(*p);
m_table[id] = std::string(p2);
m_table[id] = std::string(p2);
}
}
}