aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r--doc/gawk.texi6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 2be335bd..bdc64777 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -28923,10 +28923,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