Commit d97342f3 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

*** empty log message ***

parent 85de1612
......@@ -245,7 +245,10 @@ resource_widget_value (XlwMenuWidget mw, widget_value* val)
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 =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment