1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00

(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.
This commit is contained in:
John Paul Wallington 2006-06-02 21:35:39 +00:00
parent 3f65d6f520
commit 4985dde2d0
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
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>
* w32fns.c (x_set_icon_name): Don't use arg if it's not a string

View file

@ -1626,7 +1626,7 @@ x_set_name_internal (f, name)
text.format = 8;
text.nitems = bytes;
if (NILP (f->icon_name))
if (!STRINGP (f->icon_name))
{
icon = text;
}