changeset 71173:ac5b57ff4647

(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.
author John Paul Wallington <jpw@pobox.com>
date Fri, 02 Jun 2006 21:34:18 +0000
parents 8ed892beda61
children aedf192fdf04
files src/xfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 	  }