aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Croteau <jcroteau@gmail.com>2014-02-21 01:58:17 -0800
committerJoel Croteau <jcroteau@gmail.com>2014-02-21 01:58:17 -0800
commitac28698a41d8cb1eb944947abe8a5a98a9f137c0 (patch)
treec2d73d32287017de3ac7863580e49d9c07d2c1f1
parent52b31846e442da6d2243defe39cd988568dd93ba (diff)
Fix indentation in localeconv
-rw-r--r--src/library.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/library.js b/src/library.js
index 340384e7..6bbacad3 100644
--- a/src/library.js
+++ b/src/library.js
@@ -6443,19 +6443,19 @@ LibraryManager.library = {
// var indexes = Runtime.calculateStructAlignment({ fields: ['i32', 'i32'] });
var me = _localeconv;
if (!me.ret) {
- // These are defaults from the "C" locale
- me.ret = allocate([
- allocate(intArrayFromString('.'), 'i8', ALLOC_NORMAL),0,0,0, // decimal_point
- allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0, // thousands_sep
- allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0, // grouping
- allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0, // int_curr_symbol
- allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0, // currency_symbol
- allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0, // mon_decimal_point
- allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0, // mon_thousands_sep
- allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0, // mon_grouping
- allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0, // positive_sign
- allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0 // negative_sign
- ], 'i8*', ALLOC_NORMAL); // Allocate strings in lconv, still don't allocate chars
+ // These are defaults from the "C" locale
+ me.ret = allocate([
+ allocate(intArrayFromString('.'), 'i8', ALLOC_NORMAL),0,0,0, // decimal_point
+ allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0, // thousands_sep
+ allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0, // grouping
+ allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0, // int_curr_symbol
+ allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0, // currency_symbol
+ allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0, // mon_decimal_point
+ allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0, // mon_thousands_sep
+ allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0, // mon_grouping
+ allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0, // positive_sign
+ allocate(intArrayFromString(''), 'i8', ALLOC_NORMAL),0,0,0 // negative_sign
+ ], 'i8*', ALLOC_NORMAL); // Allocate strings in lconv, still don't allocate chars
}
return me.ret;
},