Commit 4985dde2 authored by John Paul Wallington's avatar John Paul Wallington

(x_set_name_internal): Set icon to `text', derived from name, when

frame's icon_name isn't a string rather than only when it is nil.
parent 3f65d6f5
2006-06-02 John Paul Wallington <jpw@gnu.org>
* xfns.c (x_set_name_internal): Set icon to `text', derived from
name, when frame's icon_name isn't a string rather than only when
it is nil.
2006-06-03 Eli Zaretskii <eliz@gnu.org> 2006-06-03 Eli Zaretskii <eliz@gnu.org>
* w32fns.c (x_set_icon_name): Don't use arg if it's not a string * w32fns.c (x_set_icon_name): Don't use arg if it's not a string
......
...@@ -1626,7 +1626,7 @@ x_set_name_internal (f, name) ...@@ -1626,7 +1626,7 @@ x_set_name_internal (f, name)
text.format = 8; text.format = 8;
text.nitems = bytes; text.nitems = bytes;
if (NILP (f->icon_name)) if (!STRINGP (f->icon_name))
{ {
icon = text; icon = text;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment