diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-04-10 20:09:29 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-04-11 04:19:54 -0400 |
commit | c66f453b4089b7af7ee14be7c5f817e8dd98be1e (patch) | |
tree | b6d7d883b468cf96f5199d865217f709e486e67a /man/XtSetArg.man | |
parent | a89acaec14bd988659ebdc2ebb4b99c1eea5aa7e (diff) |
restore fixed-pitch formatting of code-examples
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'man/XtSetArg.man')
-rw-r--r-- | man/XtSetArg.man | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/man/XtSetArg.man b/man/XtSetArg.man index 7d1c164..c9e95fa 100644 --- a/man/XtSetArg.man +++ b/man/XtSetArg.man @@ -92,6 +92,7 @@ minimize the probability of making a mistake; for example: .LP .RS .nf +.ft CW Arg args[20]; int n; @@ -99,6 +100,7 @@ n = 0; XtSetArg(args[n], XtNheight, 100); n++; XtSetArg(args[n], XtNwidth, 200); n++; XtSetValues(widget, args, n); +.ft R .fi .RE .LP @@ -108,11 +110,13 @@ and use .LP .RS .nf +.ft CW static Args args[] = { {XtNheight, (XtArgVal) 100}, {XtNwidth, (XtArgVal) 200}, }; XtSetValues(Widget, args, XtNumber(args)); +.ft R .fi .RE .LP |