aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawktexi.in
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r--doc/gawktexi.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 28486974..9ad5d3cb 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -27551,10 +27551,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