1
0
Fork 0

skip voice delimiter (messages).

This commit is contained in:
ehofman 2009-12-29 10:32:52 +00:00 committed by Tim Moore
parent 2a53154e0f
commit 0238a09c4d

View file

@ -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);