Fix an issue with playing "oclock" multiple times in French with 24 hour time format.

Issue 10101


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@72924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jason Parker
2007-07-02 17:58:25 +00:00
parent 4dfa0b47a7
commit d60de2804e

5
say.c
View File

@@ -4081,11 +4081,6 @@ int ast_say_date_with_format_fr(struct ast_channel *chan, time_t time, const cha
case 'k':
/* 24-Hour */
res = ast_say_number(chan, tm.tm_hour, ints, lang, (char * ) NULL);
if (!res) {
if (format[offset] == 'H') {
res = wait_file(chan,ints, "digits/oclock",lang);
}
}
if (!res)
res = wait_file(chan,ints, "digits/oclock",lang);
break;