Revision
16910
Author
brian
Date
2010-03-04 17:53:40 -0600 (Thu, 04 Mar 2010)

Log Message

 I hate that notation 

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey_teletone.c (16909 => 16910)


--- freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey_teletone.c	2010-03-04 23:51:48 UTC (rev 16909)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey_teletone.c	2010-03-04 23:53:40 UTC (rev 16910)
@@ -169,16 +169,16 @@
 	struct teletone_obj *tto = JS_GetPrivate(cx, obj);
 	if (argc > 2) {
 		int x;
-        int nMax = argc;
+        int nmax = argc;
 		char *fval;
 		char *map_str;
 		map_str = JS_GetStringBytes(JS_ValueToString(cx, argv[0]));
 
-		if ( TELETONE_MAX_TONES < nMax ) {
-			nMax = TELETONE_MAX_TONES;
+		if ( TELETONE_MAX_TONES < nmax ) {
+			nmax = TELETONE_MAX_TONES;
 		}
 
-		for (x = 1; x < nMax; x++) {
+		for (x = 1; x < nmax; x++) {
 			fval = JS_GetStringBytes(JS_ValueToString(cx, argv[x]));
 			tto->ts.TONES[(int) *map_str].freqs[x - 1] = strtod(fval, NULL);
 		}