changeset 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 f6e8c75cca52
children 0d7b62a295be
files src/xfns.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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