Mercurial > hg > batmud > misc
changeset 366:b74c3b9e2339 misc
Fix a typo.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 12 May 2022 13:00:12 +0300 |
parents | 59b819986fd0 |
children | 02bacce48be0 |
files | magestats.pl |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/magestats.pl Mon Mar 30 10:59:28 2020 +0300 +++ b/magestats.pl Thu May 12 13:00:12 2022 +0300 @@ -673,7 +673,7 @@ my $gd = $graph->plot(\@data) or mlog(0, "Error creating graph ($type): ".$graph->error); if ($gd) { - open(IMG, ">", $opt_prefix."_".$type.".".$opt_imgfmt) or die("Error openiong file ".$!."\n"); + open(IMG, ">", $opt_prefix."_".$type.".".$opt_imgfmt) or die("Error opening file ".$!."\n"); binmode IMG; print IMG $gd->gif if ($opt_imgfmt eq "gif"); print IMG $gd->png if ($opt_imgfmt eq "png");