Commit fddd2d51 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

efa: only print subtitle and subject when they're not the same

parent 920477d9
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -152,8 +152,13 @@ sub display_connection {
	}

	for my $notice ( $c->current_info ) {
		if ( $notice->{subtitle} ne $notice->{subject} ) {
			printf( "# %s - %s\n", $notice->{subtitle}, $notice->{subject} );
		}
		else {
			printf( "# %s\n", $notice->{subtitle} );
		}
	}

	if ( $opt->{maps} ) {
		for my $m ( $c->departure_routemaps, $c->departure_stationmaps ) {