]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3207 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 1 Apr 2011 00:12:05 +0000 (19:12 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 1 Apr 2011 00:12:05 +0000 (19:12 -0500)
src/mod/say/mod_say_en/mod_say_en.c

index 0128b679ad54e8a5bb4af414f03f203b84f5c7b2..01409c7b21a0e71fa0ebe1d9d51f9a7276fc84c5 100644 (file)
@@ -487,7 +487,7 @@ static switch_status_t say_spell(switch_say_file_handle_t *sh, char *tosay, swit
        for (p = tosay; p && *p; p++) {
                int a = tolower((int) *p);
                if (a >= '0' && a <= '9') {
-                       switch_say_file(sh, "digits/%d", a - '0');
+                       switch_say_file(sh, "digits/%c", a);
                } else {
                        if (say_args->type == SST_NAME_SPELLED) {
                                switch_say_file(sh, "ascii/%d", a);