Skip to content

Commit c9df4a5

Browse files
Code alignment for readability
1 parent e928a18 commit c9df4a5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

diff-so-fancy

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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

951951
sub 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) {

0 commit comments

Comments
 (0)