[Asterisk-code-review] spelling: hundred (asterisk[master])
Josh Soref
asteriskteam at digium.com
Sun Nov 7 00:09:43 CDT 2021
Josh Soref has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/16954 )
Change subject: spelling: hundred
......................................................................
spelling: hundred
Change-Id: Ifee09560149d0e9261bdef32109c8ef280fda1bf
---
M main/say.c
1 file changed, 9 insertions(+), 9 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/54/16954/1
diff --git a/main/say.c b/main/say.c
index 41de526..417ff0c 100644
--- a/main/say.c
+++ b/main/say.c
@@ -929,7 +929,7 @@
* - 3,4,...,20
* - 30,40,...,90
*
- * - hundereds - 100 - sto, 200 - 2ste, 300,400 3,4sta, 500,600,...,900 5,6,...9set
+ * - hundreds - 100 - sto, 200 - 2ste, 300,400 3,4sta, 500,600,...,900 5,6,...9set
*
* for each number 10^(3n + 3) exist 3 files represented as:
* 1 tousand = jeden tisic = 1_E3
@@ -949,7 +949,7 @@
int playh = 0;
char fn[256] = "";
- int hundered = 0;
+ int hundred = 0;
int left = 0;
int length = 0;
@@ -980,22 +980,22 @@
snprintf(fn, sizeof(fn), "digits/%d", (num /10) * 10);
num %= 10;
} else if (num < 1000) {
- hundered = num / 100;
- if ( hundered == 1 ) {
+ hundred = num / 100;
+ if ( hundred == 1 ) {
ast_copy_string(fn, "digits/1sto", sizeof(fn));
- } else if ( hundered == 2 ) {
+ } else if ( hundred == 2 ) {
ast_copy_string(fn, "digits/2ste", sizeof(fn));
} else {
- res = ast_say_number_full_cs(chan, hundered, ints, language, options, audiofd, ctrlfd);
+ res = ast_say_number_full_cs(chan, hundred, ints, language, options, audiofd, ctrlfd);
if (res)
return res;
- if (hundered == 3 || hundered == 4) {
+ if (hundred == 3 || hundred == 4) {
ast_copy_string(fn, "digits/sta", sizeof(fn));
- } else if ( hundered > 4 ) {
+ } else if ( hundred > 4 ) {
ast_copy_string(fn, "digits/set", sizeof(fn));
}
}
- num -= (hundered * 100);
+ num -= (hundred * 100);
} else { /* num > 1000 */
length = (int)log10(num)+1;
while ( (length % 3 ) != 1 ) {
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16954
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ifee09560149d0e9261bdef32109c8ef280fda1bf
Gerrit-Change-Number: 16954
Gerrit-PatchSet: 1
Gerrit-Owner: Josh Soref <jsoref at gmail.com>
Gerrit-CC: Friendly Automation
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211107/b75849c9/attachment-0001.html>
More information about the asterisk-code-review
mailing list