FS-4721 --resolve

This commit is contained in:
Jeff Lenk 2012-10-21 22:53:02 -05:00
parent 970b2f1765
commit 09c03667a8
1 changed files with 8 additions and 6 deletions

View File

@ -97,12 +97,14 @@ static switch_status_t play_group(switch_say_method_t method, switch_say_gender_
if (b) { if (b) {
if (b > 1) { if (b > 1) {
/*german nominativ for "one" in numbers like 21, 171, 4591 is flexed, 2-9 are not*/ /*german nominativ for "one" in numbers like 21, 171, 4591 is flexed, 2-9 are not*/
if ( c == 1 ) { if (c > 0) {
say_file("digits/s-1.wav"); if ( c == 1 ) {
} else { say_file("digits/s-1.wav");
say_file("digits/%d.wav", c); } else {
} say_file("digits/%d.wav", c);
say_file("currency/and.wav"); }
say_file("currency/and.wav");
}
if (method == SSM_COUNTED) { if (method == SSM_COUNTED) {
say_file("digits/h-%d0.wav", b); say_file("digits/h-%d0.wav", b);
} else { } else {