extra newline

This commit is contained in:
Mylloon 2024-10-06 21:10:17 +02:00
parent 4ed32db408
commit 3395d99593
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -46,7 +46,6 @@ function latex-color --description "Get the LaTeX color from HEX code"
set b (math "0x$(string sub -s 5 -l 2 $hex) / 255") set b (math "0x$(string sub -s 5 -l 2 $hex) / 255")
set a (math "0x$(string sub -s 7 -l 2 $hex) / 255") set a (math "0x$(string sub -s 7 -l 2 $hex) / 255")
set -x LC_NUMERIC C set -x LC_NUMERIC C
if test $a -eq 1 if test $a -eq 1
printf "{%.2f, %.2f, %.2f}\n" $r $g $b printf "{%.2f, %.2f, %.2f}\n" $r $g $b