chiark / gitweb /
Correct error message for ambiguous strings
[ypp-sc-tools.main.git] / yarrg / web / qtextstringcheck
index 3b4fdd7..4fbfc54 100755 (executable)
@@ -109,7 +109,7 @@ if ($chk->method_exists('execute')) {
                        $chk->scall_method("manyambig"),
                        sub {
                                $chk->scall_method("ambiguous",
-                                       spec => $each, couldbe => $_[0])
+                                       spec => $each, couldbe => $_[1])
                        });
                if (defined $temsg) {
                        $emsg= $temsg;