Skip to content

Commit

Permalink
Fixed small typo (issue #31)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrihtar committed Jan 14, 2021
1 parent f0195f8 commit f6ecc54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Garmin/FIT.pm
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ require Exporter;
FIT_HEADER_LENGTH
);

$version = 0.32;
$version = 0.33;
$version_major_scale = 100;

sub version_major {
Expand Down Expand Up @@ -291,7 +291,7 @@ sub error {
$fit = $self->file;
$fit .= ': ' if $fit ne '';

$self->{error} = "$p::$subr\#$l\@$fn: $fit$_[0]";
$self->{error} = "${p}::$subr\#$l\@$fn: $fit$_[0]";

if (&safe_isa($self->{error_callback}, CODE)) {
my $argv = &safe_isa($self->{error_callback_argv}, ARRAY) ? $self->{error_callback_argv} : [];
Expand Down

0 comments on commit f6ecc54

Please sign in to comment.