summaryrefslogtreecommitdiff
path: root/src/xfns.c
diff options
context:
space:
mode:
authorJohn Paul Wallington <jpw@pobox.com>2006-06-02 21:35:39 +0000
committerJohn Paul Wallington <jpw@pobox.com>2006-06-02 21:35:39 +0000
commit4985dde2d0220cf74334261e0f558c377d295815 (patch)
tree20bb16e86e5b8ac89f5e506d42d3d14e28514442 /src/xfns.c
parent3f65d6f5206a47fd677036a73d8d1a0920454d05 (diff)
downloademacs-4985dde2d0220cf74334261e0f558c377d295815.tar.gz
(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.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 9b9ba48ba82..e6772dc65d9 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -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;
}