sigh
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
/proc/sanitize_hexcolor(color, desired_format = 3, include_crunch = 0, default = "ffffff", default_replacement = "f")
|
||||
if(!istext(default) || (length(default) < 3))
|
||||
CRASH("Default should be a text string of RGB format, with or without the crunch, 3 or 6 characters. Default was instead [default]")
|
||||
if(!istext(default_replacement) || length(default_replacement) != 1))
|
||||
if(!istext(default_replacement) || (length(default_replacement) != 1))
|
||||
CRASH("Invalid default_replacement: [default_replacement]")
|
||||
switch(text2ascii(default_replacement))
|
||||
if(48 to 57)
|
||||
|
||||
Reference in New Issue
Block a user