Mercurial > emacs
changeset 5654:f84dac6453db
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 21 Jan 1994 16:52:12 +0000 |
parents | db6bea4e5345 |
children | 3929b3fb37ee |
files | lwlib/xlwmenu.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lwlib/xlwmenu.c Fri Jan 21 16:30:21 1994 +0000 +++ b/lwlib/xlwmenu.c Fri Jan 21 16:52:12 1994 +0000 @@ -245,7 +245,10 @@ if (!resourced_name) resourced_name = val->name; if (!val->value) - complete_name = (char *) strdup (resourced_name); + { + complete_name = (char *) XtMalloc (strlen (resourced_name) + 1); + strcpy (complete_name, resourced_name); + } else { int complete_length =