From 050265509a3563d7037f2a4024beb75b0a9af6b5 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Mon, 5 Jun 1995 17:41:10 +0000 Subject: [PATCH] (Fx_create_frame): Make sure icon_name is a string or nil. --- src/xfns.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2