Mercurial > emacs
view etc/images/gnus/unsubscribe.xpm @ 83436:f67e432d150c
Fix crash in lookup_image on termcap frames.
* src/xdisp.c (get_glyph_string_clip_rects): Add extra parentheses and
braces to prevent compiler warnings.
(calc_pixel_width_or_height): Add xassert to check that the
frame is alive. Don't call `lookup_image' on a termcap frame.
* image.c (lookup_image): Don't initialize `c' until the xasserts have
been run.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-476
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Fri, 30 Dec 2005 05:29:31 +0000 |
parents | 210af0ad3d35 |
children |
line wrap: on
line source
/* XPM */ static char * unsubscribe_xpm[] = { "24 24 5 1", " c None", ". c #A5A5A5A59595", "X c #E1E1E0E0E0E0", "o c #C7C7C6C6C6C6", "O c #FFFF00000000", " ", " ", " ", " ... ", " ..XXX..... ", "...XXXXX..XXX. ... ", ".X.XX...XXXX...XXX. ", ".XX.X.X.XX...XXXXX. ", ".XX...XX.X.X.XXXXXX. ", ".XX.o.XX...XX.XXXXXX. ", ".X.oo.XX.o.XX..XXXXXX. ", "o.ooo.X.oo.XX.XXXXXXX. ", "o.oXXo.ooo.X.oXXXXXXXX. ", " o.XXo.oXXo.ooXXOXXXXX. ", " o.XXXo.XXo.oXXXOXXXXXX.", " o.XXo.XXXo.XOOOXXXXXX.", " o.XXoo.XXo.XoOOOXXXXX.", " o.XXo.XXXo.XOoOXXX...", " o.XX.o.XXo.XOXoXX.oo ", " o..oo.XX.o.oXX..o ", " oo o..oo.XX.oo ", " oo o..o ", " oo ", " "};