diff src/xfns.c @ 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 54189ea7ad2a
children 9e62d7b78e51 46b1096093f5 a8190f7e546e
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;
 	  }