Skip to content

Commit fe14267

Browse files
authored
Horizon: Fix error caused by duplicated channel entries
1 parent 974e856 commit fe14267

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hzn/chlist_printer.pl

+4
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,8 @@
487487
print " \"" . $newcname . " (2)\":\"";
488488
} elsif( $count{$_} == 3 ) {
489489
print " \"" . $newcname . " (3)\":\"";
490+
} elsif( $count{$_} == 4 ) {
491+
print " \"" . $newcname . " (4)\":\"";
490492
}
491493
}
492494
}
@@ -591,6 +593,8 @@
591593
print " \"" . $oldcname . " (2)\":\"";
592594
} elsif( $count{$_} == 3 ) {
593595
print " \"" . $oldcname . " (3)\":\"";
596+
} elsif( $count{$_} == 4 ) {
597+
print " \"" . $oldcname . " (4)\":\"";
594598
}
595599
}
596600
}

0 commit comments

Comments
 (0)