File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -937,8 +937,8 @@ sub git_ansi_color {
937
937
my $fg = $parts [0] // " " ;
938
938
my $bg = $parts [1] // " " ;
939
939
940
- set_ansi_color( $fg , 0, \@ansi_part , $colors ) if $fg ;
941
- set_ansi_color( $bg , 10, \@ansi_part , $colors ) if $bg ;
940
+ set_ansi_color($fg , 0 , \@ansi_part , $colors ) if $fg ;
941
+ set_ansi_color($bg , 10, \@ansi_part , $colors ) if $bg ;
942
942
943
943
# ############################################
944
944
@@ -950,9 +950,10 @@ sub git_ansi_color {
950
950
951
951
sub set_ansi_color {
952
952
my ($color , $increment , $ansi_part , $colors ) = @_ ;
953
- my $base_code = 30 + $increment ;
953
+
954
+ my $base_code = 30 + $increment ;
954
955
my $base8_code = 38 + $increment ;
955
- my $ext_code = 82 + $increment ;
956
+ my $ext_code = 82 + $increment ;
956
957
957
958
if (is_numeric($color )) {
958
959
if ($color < 8) {
You can’t perform that action at this time.
0 commit comments