Use MAX instead of Math.max

This commit is contained in:
Tom Robinson committed 2009-10-26 16:53:13 -07:00
1 parent 76edc4f914
commit 717c8520b4
1 file changed
+1 -1
+1 -1
View File
@@ -168,7 +168,7 @@ var _sprintf_justify = function(sign, prefix, string, suffix, width, leftJustify
var _sprintf_pad = function(n, ch)
{
return Array(Math.max(0,n)).join(ch);
return Array(MAX(0,n)).join(ch);
}
// Base64 encoding and decoding