Date: Thu, 18 Apr 1996 06:21:28 -0700 (PDT) From: "Jordan K. Hubbard" <jkh> To: CVS-committers, cvs-all, cvs-gnu Subject: cvs commit: src/gnu/lib/libdialog checklist.c dialog.h menubox.c radiolist.c src/gnu/lib/libdialog/TESTS menu1.c menu2.c menu3.c Message-ID: <199604181321.GAA03828@freefall.freebsd.org>
index | next in thread | raw e-mail
jkh 96/04/18 06:21:28
Modified: gnu/lib/libdialog checklist.c dialog.h menubox.c
radiolist.c
gnu/lib/libdialog/TESTS menu1.c menu2.c menu3.c
Log:
Remove the special-case behavior for fire actions that return
DITEM_FAILURE - formerly they would simply act as an implicit "continue",
but this is wrong. If you want this behavior, you should now return
with the DITEM_CONTINUE flag set.
Also make the semantics of DITEM_RESTORE quite a bit different - rather
than restore the screen back to pre-menu state, we restore the menu
itself. This is more correct for a variety of reasons when dealing with
nested menus (whoops!).
Revision Changes Path
1.17 +30 -38 src/gnu/lib/libdialog/checklist.c
1.17 +1 -0 src/gnu/lib/libdialog/dialog.h
1.19 +23 -30 src/gnu/lib/libdialog/menubox.c
1.18 +36 -43 src/gnu/lib/libdialog/radiolist.c
1.4 +4 -25 src/gnu/lib/libdialog/TESTS/menu1.c
1.4 +7 -31 src/gnu/lib/libdialog/TESTS/menu2.c
1.4 +3 -9 src/gnu/lib/libdialog/TESTS/menu3.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604181321.GAA03828>
