]> git.donarmstrong.com Git - perltidy.git/commitdiff
minor correction to recent coding change
authorSteve Hancock <perltidy@users.sourceforge.net>
Mon, 18 Apr 2022 00:58:09 +0000 (17:58 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Mon, 18 Apr 2022 00:58:09 +0000 (17:58 -0700)
lib/Perl/Tidy/Formatter.pm

index 4ea7174af539acfc9d1fc857ebb12a507fad1bf6..3ef2d1176e6e190d9e2fd11ed8f4948ff0a07823 100644 (file)
@@ -22877,7 +22877,7 @@ EOM
                         # make () align with qw in a 'use' statement (git #93)
                         if (   $tokens_to_go[0] eq 'use'
                             && $types_to_go[0] eq 'k'
-                            && $inext_to_go[$i] == $i + 1 )
+                            && $mate_index_to_go[$i] == $i + 1 )
                         {
                             $alignment_type = 'q';
                         }