From 1417f965b2b8f8fb4c982908cd59f910ce002260 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 18 Aug 2017 14:28:24 +0300 Subject: Typo fixes in debug.c. --- debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debug.c') diff --git a/debug.c b/debug.c index efb8c02e..9a022669 100644 --- a/debug.c +++ b/debug.c @@ -1255,7 +1255,7 @@ do_set_var(CMDARG *arg, int cmd ATTRIBUTE_UNUSED) if (count == 1) { if (value != NULL && value->type == Node_var_array) - d_error(_("attempt to use array `%s[\".*%s\"]' in a scalar context"), + d_error(_("attempt to use array `%s[\"%.*s\"]' in a scalar context"), name, (int) subs->stlen, subs->stptr); else { arg = arg->next; @@ -1277,7 +1277,7 @@ do_set_var(CMDARG *arg, int cmd ATTRIBUTE_UNUSED) *lhs = array; r = array; } else if (value->type != Node_var_array) { - d_error(_("attempt to use scalar `%s[\".*%s\"]' as array"), + d_error(_("attempt to use scalar `%s[\"%.*s\"]' as array"), name, (int) subs->stlen, subs->stptr); break; } else { -- cgit v1.2.3