summaryrefslogtreecommitdiff
path: root/src/xfns.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-06-05 17:41:10 +0000
committerKarl Heuer <kwzh@gnu.org>1995-06-05 17:41:10 +0000
commitc809efbb344a6884e9da0121afa6bdbed9ae2745 (patch)
tree44d6f569c077bbe296ecdc64cdba457135b5a24e /src/xfns.c
parent509c268276600ac0f5c1badfaf2a68e590486205 (diff)
downloademacs-c809efbb344a6884e9da0121afa6bdbed9ae2745.tar.gz
(Fx_create_frame): Make sure icon_name is a string or nil.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 95bbaa257e5..9e8651e9c28 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -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