diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-11-28 17:45:32 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-11-28 17:45:32 +0000 |
commit | 6a1dbf2ca7f6d392c63cfb7febcbfd18a8330bb7 (patch) | |
tree | de7172d517ed14abbe28ca52abe6b00124a4a099 /lib/libcurses++/cursesm.cc | |
parent | c059a4d97895978b75eac3daae8186641e901e68 (diff) |
update to ncurses-5.0-19991127
Diffstat (limited to 'lib/libcurses++/cursesm.cc')
-rw-r--r-- | lib/libcurses++/cursesm.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcurses++/cursesm.cc b/lib/libcurses++/cursesm.cc index eed888a43f8..5818c265ce3 100644 --- a/lib/libcurses++/cursesm.cc +++ b/lib/libcurses++/cursesm.cc @@ -1,6 +1,6 @@ // * this is for making emacs happy: -*-Mode: C++;-*- /**************************************************************************** - * Copyright (c) 1998 Free Software Foundation, Inc. * + * Copyright (c) 1998,1999 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -35,7 +35,7 @@ #include "cursesapp.h" #include "internal.h" -MODULE_ID("$From: cursesm.cc,v 1.11 1999/07/31 09:45:23 juergen Exp $") +MODULE_ID("$From: cursesm.cc,v 1.12 1999/10/30 23:59:37 tom Exp $") NCursesMenuItem::~NCursesMenuItem() { if (item) @@ -304,7 +304,7 @@ NCursesMenu::operator()(void) { if (drvCmnd == CMD_ACTION) { if (options() & O_ONEVALUE) { NCursesMenuItem* itm = current_item(); - assert(itm); + assert(itm != 0); if (itm->options() & O_SELECTABLE) { b_action = itm->action(); |