diff src/xfns.c @ 12080:862907031e94

(Fx_create_frame): Make sure icon_name is a string or nil.
author Karl Heuer <kwzh@gnu.org>
date Mon, 05 Jun 1995 17:41:10 +0000
parents 1b0018c43060
children a9fda5417acf
line wrap: on
line diff
--- 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