X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FATCDCL%2FATCVoice.cxx;h=07825f78c3f5c64239c7e94e9f4c0e922e6a95c8;hb=49677f512b8edaaf22c76761dbbf9c0850c79aad;hp=7437884f7de34fa6b136f621ac95df346f1f33d8;hpb=ad020f5fb549baf41574c54871471ead2d685693;p=flightgear.git diff --git a/src/ATCDCL/ATCVoice.cxx b/src/ATCDCL/ATCVoice.cxx index 7437884f7..07825f78c 100644 --- a/src/ATCDCL/ATCVoice.cxx +++ b/src/ATCDCL/ATCVoice.cxx @@ -144,6 +144,8 @@ void* FGATCVoice::WriteMessage(const string& message, size_t* len) { token_start = message.find_first_not_of(delimiters, token_end); } + if (token == "/_") continue; + for(string::iterator t = token.begin(); t != token.end(); t++) { // canonicalize the token, to match what's in the index *t = (*t == '-') ? '_' : tolower(*t);