summaryrefslogtreecommitdiffstats
path: root/lib/libforms/examples
diff options
context:
space:
mode:
authorpaul <paul@FreeBSD.org>1995-01-11 06:08:45 +0000
committerpaul <paul@FreeBSD.org>1995-01-11 06:08:45 +0000
commitc81d36156b03bf39e90e7cc067a1eb06561979a5 (patch)
treef3bb96c196d1e82f52b515abd2a2e36b790fe659 /lib/libforms/examples
parent48a3ca7f45bfe12aaf989130ade7c6b154d3416a (diff)
downloadFreeBSD-src-c81d36156b03bf39e90e7cc067a1eb06561979a5.zip
FreeBSD-src-c81d36156b03bf39e90e7cc067a1eb06561979a5.tar.gz
Added emacs ^A,^E,^B & ^F keybindings to field editor.
Changed a constant to a sizeof in test.c
Diffstat (limited to 'lib/libforms/examples')
-rw-r--r--lib/libforms/examples/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libforms/examples/test.c b/lib/libforms/examples/test.c
index 8725c2b..d587354 100644
--- a/lib/libforms/examples/test.c
+++ b/lib/libforms/examples/test.c
@@ -35,7 +35,7 @@ main()
struct text_field field4 = {string4};
struct input_field field5 = {1,"A place filler",0};
struct text_field field6 = {string6};
- struct menu_field field7 = {4, 0, options7};
+ struct menu_field field7 = {sizeof &options7, 0, options7};
struct action_field field8 = {"EXIT",&exit_form};
struct action_field field9 = {"CANCEL",&cancel_form};
OpenPOWER on IntegriCloud