From: Steve Hancock <perltidy@users.sourceforge.net>
Date: Tue, 24 Sep 2024 00:07:16 +0000 (-0700)
Subject: fix spelling; fix saved iteration number
X-Git-Tag: 20240903.03~4
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=cf2d4cf1040d3703642a06c924216df02d82090f;p=perltidy.git

fix spelling; fix saved iteration number
---

diff --git a/lib/Perl/Tidy.pm b/lib/Perl/Tidy.pm
index ea91c5a4..ab829407 100644
--- a/lib/Perl/Tidy.pm
+++ b/lib/Perl/Tidy.pm
@@ -2945,6 +2945,7 @@ EOM
                     && $formatter->want_second_iteration() )
                 {
                     ## deja vu, but do not set $stop_now
+                    $saw_md5{$digest} = $iter;
                 }
                 else {
 
@@ -4768,7 +4769,7 @@ EOM
         if ( $Opts{$long_name} ) {
             my $short_name = $early_exit_commands{$long_name};
             Die(<<EOM);
-Ambigiguos entry; please enter '--$long_name' or '-$short_name'
+Ambigiguous entry; please enter '--$long_name' or '-$short_name'
 EOM
         }
     }