<rdar://problem/
3711474>: (REGRESSION (125-146): JavaScript 'toString(16)' is broken)
<rdar://problem/
3644873>: (REGRESSION (125-140u): secondary list doesn't fill in at Southwest.com)
* kjs/number_object.cpp:
(NumberProtoFuncImp::call): Initialize radix from dradix, not from itself!
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7032
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2004-07-14 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by John.
+
+ <rdar://problem/3711474>: (REGRESSION (125-146): JavaScript 'toString(16)' is broken)
+ <rdar://problem/3644873>: (REGRESSION (125-140u): secondary list doesn't fill in at Southwest.com)
+
+ * kjs/number_object.cpp:
+ (NumberProtoFuncImp::call): Initialize radix from dradix, not from itself!
+
2004-07-13 Kevin Decker <kdecker@apple.com>
Reviewed by kocienda.
if (dradix < 2 || dradix > 36 || dradix == 10)
result = String(v.toString(exec));
else {
- int radix = static_cast<int>(radix);
+ int radix = static_cast<int>(dradix);
unsigned i = v.toUInt32(exec);
char s[33];
char *p = s + sizeof(s);