From 2489318970a3b82d8fe537dab91508d254e54bdc Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 10 Nov 2016 05:52:04 +0200 Subject: Fix doc on dcngettext. --- doc/gawk.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc/gawk.texi') diff --git a/doc/gawk.texi b/doc/gawk.texi index 2cfe858c..fdf95219 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -28460,10 +28460,12 @@ This example would be better done with @code{dcngettext()}: @example if (groggy) message = dcngettext("%d customer disturbing me\n", - "%d customers disturbing me\n", "adminprog") + "%d customers disturbing me\n", + ncustomers, "adminprog") else message = dcngettext("enjoying %d customer\n", - "enjoying %d customers\n", "adminprog") + "enjoying %d customers\n", + ncustomers, "adminprog") printf(message, ncustomers) @end example -- cgit v1.2.3