X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=menu%2Fm_item_new.c;h=1e7950db2f51a551f6ac1b3aef57f3639f393db3;hp=7f5daa9d89dc675be3a9b558bfb705b86fe4da7b;hb=7503e8d82292a2a0a4d8bb55bdf3f8a203159f68;hpb=ba39fbc2e0cee4681395df4079d9e61c27262132 diff --git a/menu/m_item_new.c b/menu/m_item_new.c index 7f5daa9d..1e7950db 100644 --- a/menu/m_item_new.c +++ b/menu/m_item_new.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc. * + * Copyright 2020 Thomas E. Dickey * + * Copyright 1998-2010,2012 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 * @@ -44,7 +45,7 @@ #endif #endif -MODULE_ID("$Id: m_item_new.c,v 1.32 2012/03/10 23:41:36 tom Exp $") +MODULE_ID("$Id: m_item_new.c,v 1.34 2020/02/02 23:34:34 tom Exp $") /*--------------------------------------------------------------------------- | Facility : libnmenu @@ -223,7 +224,7 @@ set_menu_mark(MENU * menu, const char *mark) if (menu->mark) { if (menu != &_nc_Default_Menu) - menu->status |= _MARK_ALLOCATED; + SetStatus(menu, _MARK_ALLOCATED); } else {