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++/cursesp.cc | |
parent | c059a4d97895978b75eac3daae8186641e901e68 (diff) |
update to ncurses-5.0-19991127
Diffstat (limited to 'lib/libcurses++/cursesp.cc')
-rw-r--r-- | lib/libcurses++/cursesp.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcurses++/cursesp.cc b/lib/libcurses++/cursesp.cc index cc78e32f3d2..2c5f5421056 100644 --- a/lib/libcurses++/cursesp.cc +++ b/lib/libcurses++/cursesp.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 * @@ -34,7 +34,7 @@ #include "cursesp.h" #include "internal.h" -MODULE_ID("$From: cursesp.cc,v 1.14 1999/05/16 17:30:51 juergen Exp $") +MODULE_ID("$From: cursesp.cc,v 1.15 1999/10/30 23:59:37 tom Exp $") NCursesPanel* NCursesPanel::dummy = (NCursesPanel*)0; @@ -52,7 +52,7 @@ void NCursesPanel::init() { NCursesPanel::~NCursesPanel() { UserHook* hook = (UserHook*)::panel_userptr(p); - assert(hook && hook->m_back==this && hook->m_owner==p); + assert(hook != 0 && hook->m_back==this && hook->m_owner==p); delete hook; ::del_panel(p); ::update_panels(); |