ATISEncoder: minor tweak
no trailing blank at runway designator
This commit is contained in:
parent
15525aab58
commit
19dd46c5b0
1 changed files with 3 additions and 1 deletions
|
@ -46,7 +46,9 @@ string ATCSpeech::getSpokenNumber( string number )
|
||||||
{
|
{
|
||||||
string result;
|
string result;
|
||||||
for( string::iterator it = number.begin(); it != number.end(); ++it ) {
|
for( string::iterator it = number.begin(); it != number.end(); ++it ) {
|
||||||
result.append( getSpokenDigit( (*it) - '0' )).SPACE;
|
if( false == result.empty() )
|
||||||
|
result.SPACE;
|
||||||
|
result.append( getSpokenDigit( (*it) - '0' ));
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue