Call srcfile() with nothrow, as clearly intended.

master
Amitai Schleier 2018-04-23 22:28:49 -04:00
parent 15130f6cb0
commit ab9cb28414
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ sub get_tag_icon($) {
my $tag = shift;
# look for an icon attached to the tag
my $attached = $tag . '/' . $config{'osm_tag_default_icon'};
if (srcfile($attached)) {
if (srcfile($attached, 1)) {
return $attached;
}
else {