]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - menu/m_item_new.c
ncurses 5.9 - patch 20120225
[ncurses.git] / menu / m_item_new.c
index 1debc2b344012c97af637f319f2aa3d8d7df5d5f..f218d3ef4ef767c9167c37676d514c10dcfc988e 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
+ * Copyright (c) 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 +44,7 @@
 #endif
 #endif
 
-MODULE_ID("$Id: m_item_new.c,v 1.30 2010/01/23 21:20:11 tom Exp $")
+MODULE_ID("$Id: m_item_new.c,v 1.31 2012/02/23 10:02:15 tom Exp $")
 
 /*---------------------------------------------------------------------------
 |   Facility      :  libnmenu  
@@ -222,7 +222,6 @@ set_menu_mark(MENU * menu, const char *mark)
          menu->mark = strdup(mark);
          if (menu->mark)
            {
-             strcpy(menu->mark, mark);
              if (menu != &_nc_Default_Menu)
                menu->status |= _MARK_ALLOCATED;
            }