[asterisk-commits] oej: branch 1.6.2 r295907 - in /branches/1.6.2: ./ main/say.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Nov 23 03:36:43 CST 2010
Author: oej
Date: Tue Nov 23 03:36:38 2010
New Revision: 295907
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=295907
Log:
Merged revisions 295906 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r295906 | oej | 2010-11-23 10:28:14 +0100 (Tis, 23 Nov 2010) | 8 lines
Fix support of saynumber(1,n) in the Swedish language
(closes issue #18353)
Reported by: oej
Review: https://reviewboard.asterisk.org/r/1031/
........
Modified:
branches/1.6.2/ (props changed)
branches/1.6.2/main/say.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: branches/1.6.2/main/say.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/say.c?view=diff&rev=295907&r1=295906&r2=295907
==============================================================================
--- branches/1.6.2/main/say.c (original)
+++ branches/1.6.2/main/say.c Tue Nov 23 03:36:38 2010
@@ -2213,15 +2213,15 @@
} else if (playh) {
ast_copy_string(fn, "digits/hundred", sizeof(fn));
playh = 0;
+ } else if (num == 1 && cn == -1) { /* En eller ett? */
+ ast_copy_string(fn, "digits/1N", sizeof(fn));
+ num = 0;
} else if (num < 20) {
snprintf(fn, sizeof(fn), "digits/%d", num);
num = 0;
} else if (num < 100) {
snprintf(fn, sizeof(fn), "digits/%d", (num /10) * 10);
num %= 10;
- } else if (num == 1 && cn == -1) { /* En eller ett? */
- ast_copy_string(fn, "digits/1N", sizeof(fn));
- num = 0;
} else {
if (num < 1000){
snprintf(fn, sizeof(fn), "digits/%d", (num/100));
More information about the asterisk-commits
mailing list