# HG changeset patch # User Karl Heuer # Date 802374070 0 # Node ID 862907031e944003d34b92b23fff5e87831c7c06 # Parent f6e8c75cca52a6a311d08e4bf238ebb4f0da50a9 (Fx_create_frame): Make sure icon_name is a string or nil. diff -r f6e8c75cca52 -r 862907031e94 src/xfns.c --- a/src/xfns.c Mon Jun 05 17:39:17 1995 +0000 +++ b/src/xfns.c Mon Jun 05 17:41:10 1995 +0000 @@ -2901,6 +2901,8 @@ f->display.x->icon_name = x_get_arg (parms, Qicon_name, "iconName", "Title", string); + if (! STRINGP (f->display.x->icon_name)) + f->display.x->icon_name = Qnil; FRAME_X_DISPLAY_INFO (f) = dpyinfo; #ifdef MULTI_KBOARD