You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
asterisk/patches/say.c-issue16105.patch

12 lines
440 B

--- main/say.c 2009-07-08 12:26:15.000000000 -0400
+++ main/say.c 2009-10-21 20:40:46.930743413 -0400
@@ -4123,6 +4123,8 @@
/* 12-Hour */
if (tm.tm_hour == 0)
snprintf(nextmsg,sizeof(nextmsg), "digits/12");
+ else if (tm.tm_hour == 1 || tm.tm_hour == 13)
+ snprintf(nextmsg,sizeof(nextmsg), "digits/1F");
else if (tm.tm_hour > 12)
snprintf(nextmsg,sizeof(nextmsg), "digits/%d", tm.tm_hour - 12);
else