diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-06-05 17:41:10 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-06-05 17:41:10 +0000 |
commit | c809efbb344a6884e9da0121afa6bdbed9ae2745 (patch) | |
tree | 44d6f569c077bbe296ecdc64cdba457135b5a24e /src/xfns.c | |
parent | 509c268276600ac0f5c1badfaf2a68e590486205 (diff) | |
download | emacs-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.c | 2 |
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 |