summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/acronyms.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/acronyms.pl b/scripts/acronyms.pl
index 82e8b3f..6067c44 100755
--- a/scripts/acronyms.pl
+++ b/scripts/acronyms.pl
@@ -1891,7 +1891,7 @@ sub get_station_by_location {
my @station_map = pairwise { [ $a, $b ] } @candidates, @distances;
@station_map = sort { $a->[1] <=> $b->[1] } @station_map;
- splice( @station_map, 10 );
+ splice( @station_map, $num_matches );
return @station_map;
}