]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fx_create_frame): Make sure icon_name is a string or nil.
authorKarl Heuer <kwzh@gnu.org>
Mon, 5 Jun 1995 17:41:10 +0000 (17:41 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 5 Jun 1995 17:41:10 +0000 (17:41 +0000)
src/xfns.c

index 95bbaa257e5c3eb6ac9525cd4a30663a6deee05d..9e8651e9c28a999a55a9453be6ac0a00b395c13d 100644 (file)
@@ -2901,6 +2901,8 @@ This function is an internal primitive--use `make-frame' instead.")
 
   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