Chinese say now say "one" before "ten" for numbers >99

This commit is contained in:
Steve Underwood 2014-05-17 14:28:58 +08:00
parent e4888349e1
commit 34807208c6
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ static switch_status_t zh_say_general_count(switch_core_session_t *session, char
case 8:
/* Hundred thousands or tens column */
if (digits[i] != '0') {
if (digits[i] != '1')
if (digits[i] != '1' || (digits[i] == '1' && digits[i - 1] > '0'))
say_file("digits/%c.wav", digits[i]);
say_file("digits/10.wav");
} else {