Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Karasik committed Oct 31, 2017
1 parent b3cff00 commit 042ad55
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Prima/Utils.pm
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,11 @@ sub xcolor {

sub find_image
{
print STDERR "find image: @_\n";
my $mod = @_ > 1 ? shift : 'Prima';
my $name = shift;
$name =~ s!::!/!g;
$mod =~ s!::!/!g;
for (@INC) {
print STDERR "? $_/$mod/$name\n";
return "$_/$mod/$name" if -f "$_/$mod/$name" && -r _;
}
return undef;
Expand Down

0 comments on commit 042ad55

Please sign in to comment.