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