aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c
index ed6d00d0325..b4d16615fb0 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1256,7 +1256,7 @@ x_set_icon_name (f, arg, oldval)
1256 if (STRINGP (oldval) && EQ (Fstring_equal (oldval, arg), Qt)) 1256 if (STRINGP (oldval) && EQ (Fstring_equal (oldval, arg), Qt))
1257 return; 1257 return;
1258 } 1258 }
1259 else if (!STRINGP (oldval) && EQ (oldval, Qnil) == EQ (arg, Qnil)) 1259 else if (!NILP (arg) || NILP (oldval))
1260 return; 1260 return;
1261 1261
1262 f->icon_name = arg; 1262 f->icon_name = arg;
@@ -1612,7 +1612,7 @@ x_set_name_internal (f, name)
1612 text.format = 8; 1612 text.format = 8;
1613 text.nitems = bytes; 1613 text.nitems = bytes;
1614 1614
1615 if (NILP (f->icon_name)) 1615 if (!STRINGP (f->icon_name))
1616 { 1616 {
1617 icon = text; 1617 icon = text;
1618 } 1618 }