From: Karl Heuer Date: Mon, 5 Jun 1995 17:41:10 +0000 (+0000) Subject: (Fx_create_frame): Make sure icon_name is a string or nil. X-Git-Tag: emacs-19.34~3778 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=050265509a3563d7037f2a4024beb75b0a9af6b5;p=emacs.git (Fx_create_frame): Make sure icon_name is a string or nil. --- 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