emacs/emacs-no-bitmap-icon.patch
Petr Hracek 832068b18c emacs option --no-bitmap-icon does not work (#1199160)
Signed-off-by: Petr Hracek <phracek@redhat.com>
2015-03-27 08:06:26 +01:00

14 lines
335 B
Diff

diff --git a/src/frame.h b/src/frame.h
index ff696df..fc19768 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -1349,7 +1349,7 @@ x_set_bitmap_icon (struct frame *f)
{
Lisp_Object obj = assq_no_quit (Qicon_type, f->param_alist);
- if (CONSP (obj))
+ if (CONSP (obj) && !NILP (XCDR (obj)))
x_bitmap_icon (f, XCDR (obj));
}