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 {
937937 my $fg = $parts [0] // " " ;
938938 my $bg = $parts [1] // " " ;
939939
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 ;
942942
943943 # ############################################
944944
@@ -950,9 +950,10 @@ sub git_ansi_color {
950950
951951sub set_ansi_color {
952952 my ($color , $increment , $ansi_part , $colors ) = @_ ;
953- my $base_code = 30 + $increment ;
953+
954+ my $base_code = 30 + $increment ;
954955 my $base8_code = 38 + $increment ;
955- my $ext_code = 82 + $increment ;
956+ my $ext_code = 82 + $increment ;
956957
957958 if (is_numeric($color )) {
958959 if ($color < 8) {
You can’t perform that action at this time.
0 commit comments