--- gui-x.c~ Thu Aug 05 18:40:10 1999 +++ gui-x.c Tue Aug 17 09:02:00 1999 @@ -332,6 +332,7 @@ { wv->type = TEXT_TYPE; wv->name = (char *) XSTRING_DATA (gui_item); + wv->name = xstrdup (wv->name); return 1; } else if (!GUI_ITEMP (gui_item)) @@ -352,6 +353,7 @@ CHECK_STRING (pgui->name); wv->name = (char *) XSTRING_DATA (pgui->name); + wv->name = xstrdup (wv->name); wv->accel = LISP_TO_VOID (gui_item_accelerator (gui_item)); if (!NILP (pgui->suffix))