changeset 71171:9fcdaa132bf3

(x_set_icon_name): Don't use arg if it's not a string and not nil.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 02 Jun 2006 21:20:44 +0000
parents 82731c9a92fc
children 8ed892beda61
files src/w32fns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32fns.c	Fri Jun 02 18:47:44 2006 +0000
+++ b/src/w32fns.c	Fri Jun 02 21:20:44 2006 +0000
@@ -1683,7 +1683,7 @@
       if (STRINGP (oldval) && EQ (Fstring_equal (oldval, arg), Qt))
 	return;
     }
-  else if (!STRINGP (oldval) && EQ (oldval, Qnil) == EQ (arg, Qnil))
+  else if (!NILP (arg) || NILP (oldval))
     return;
 
   f->icon_name = arg;