]> git.donarmstrong.com Git - perltidy.git/commitdiff
fix spelling; fix saved iteration number
authorSteve Hancock <perltidy@users.sourceforge.net>
Tue, 24 Sep 2024 00:07:16 +0000 (17:07 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Tue, 24 Sep 2024 00:07:16 +0000 (17:07 -0700)
lib/Perl/Tidy.pm

index ea91c5a46fea40a8e401aa3a6a3cb41593b6958e..ab829407fec5291fd06377ffbf2e00cb8075e3ac 100644 (file)
@@ -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
         }
     }