From 5dd46ec03bb3dc945d2f084726aaba79a83e6340 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 26 Nov 2014 08:29:52 +0200 Subject: Fixes for new gensub warnings. --- builtin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'builtin.c') diff --git a/builtin.c b/builtin.c index 3aeee744..53210c4d 100644 --- a/builtin.c +++ b/builtin.c @@ -2696,7 +2696,7 @@ do_sub(int nargs, unsigned int flags) if ((t1->flags & NUMCUR) != 0) goto set_how_many; - warning(_("gensub: third argument of `%.*s' treated as 1"), + warning(_("gensub: third argument `%.*s' treated as 1"), (int) t1->stlen, t1->stptr); how_many = 1; } @@ -2711,7 +2711,7 @@ set_how_many: else how_many = LONG_MAX; if (d <= 0) - warning(_("gensub: third argument of %g treated as 1"), d); + warning(_("gensub: third argument %g treated as 1"), d); } DEREF(t1); -- cgit v1.2.3