From 266f73302d5bf50ecb532c7d0e8fb94be6ab6322 Mon Sep 17 00:00:00 2001 From: radical_honesty on #flashsupport Date: Sat, 7 Jan 2023 19:08:01 -0800 Subject: [PATCH] Evaluated proc color args {if ![llength $args] {return };if {[lindex $args 0] eq "default"} {return };set ret \x[color_of [lindex $args 0]]; if {[llength $args] > 1} {if {[lindex $args 1] eq "on"} {append ret ,[color_of [lindex $args 2]]} {append ret ,[color_of [lindex $args 1]]}}; return $ret} --- procs/6dd0fe8001145bec4a12d0e22da711c4970d000b | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/procs/6dd0fe8001145bec4a12d0e22da711c4970d000b b/procs/6dd0fe8001145bec4a12d0e22da711c4970d000b index 23f469f..c59198c 100644 --- a/procs/6dd0fe8001145bec4a12d0e22da711c4970d000b +++ b/procs/6dd0fe8001145bec4a12d0e22da711c4970d000b @@ -1 +1 @@ -args {if ![llength $args] {return };if {[lindex $args 0] eq "default"} {return };set ret [color_of [lindex $args 0]]; if {[llength $args] > 1} {if {[lindex $args 1] eq "on"} {append ret \x03,[color_of [lindex $args 2]]} {append ret \x03,[color_of [lindex $args 1]]}}; return $ret} +args {if ![llength $args] {return };if {[lindex $args 0] eq "default"} {return };set ret \x[color_of [lindex $args 0]]; if {[llength $args] > 1} {if {[lindex $args 1] eq "on"} {append ret ,[color_of [lindex $args 2]]} {append ret ,[color_of [lindex $args 1]]}}; return $ret}