Commit 3f65d6f5 authored by Eli Zaretskii's avatar Eli Zaretskii

(x_set_icon_name): Don't use arg if it's not a string and not nil.

parent c1def6ea
2006-06-03 Eli Zaretskii <eliz@gnu.org>
* w32fns.c (x_set_icon_name): Don't use arg if it's not a string
and not nil.
2006-06-02 Chong Yidong <cyd@stupidchicken.com>
* xfns.c (x_set_icon_name): No-op if arg is non-nil and not a
......
......@@ -1683,7 +1683,7 @@ x_set_icon_name (f, arg, oldval)
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment