kopia lustrzana https://github.com/OpenRTX/OpenRTX
Fix M17 callsign decoder sometimes causing crashes
rodzic
9d141b8f93
commit
74f7912b4c
|
@ -98,7 +98,8 @@ std::string M17::decode_callsign(const call_t& encodedCall)
|
||||||
|
|
||||||
while(encoded)
|
while(encoded)
|
||||||
{
|
{
|
||||||
result[index++] = charMap[encoded % 40];
|
result.push_back(charMap[encoded % 40]);
|
||||||
|
index++;
|
||||||
encoded /= 40;
|
encoded /= 40;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue