# HG changeset patch # User John Paul Wallington # Date 1149284058 0 # Node ID ac5b57ff46476a6671714662ec26399cd95904a7 # Parent 8ed892beda6153ca65d9c75e2b264b3fba3d8c28 (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. diff -r 8ed892beda61 -r ac5b57ff4647 src/xfns.c --- a/src/xfns.c Fri Jun 02 21:21:55 2006 +0000 +++ b/src/xfns.c Fri Jun 02 21:34:18 2006 +0000 @@ -1626,7 +1626,7 @@ text.format = 8; text.nitems = bytes; - if (NILP (f->icon_name)) + if (!STRINGP (f->icon_name)) { icon = text; }