From owner-cvs-gnu Thu Apr 18 06:22:56 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA03882 for cvs-gnu-outgoing; Thu, 18 Apr 1996 06:22:56 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA03828 Thu, 18 Apr 1996 06:21:28 -0700 (PDT) Date: Thu, 18 Apr 1996 06:21:28 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199604181321.GAA03828@freefall.freebsd.org> 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 Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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