Mercurial > emacs
view etc/images/gnus/post.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 * post_xpm[] = { "24 24 8 1", ". c None", " c #434343434343", "X c #A5A5A5A59595", "O c #000000000000", "+ c #C7C7C6C6C6C6", "@ c #FFFF00000000", "# c #9A9A6C6C4E4E", "$ c #E1E1E0E0E0E0", "O..O..O..O..O..O..O..O..", "........................", "............X...........", "O..O..O..O.XXX.O..O..O..", ".........XX++@X.........", ".......XX+++#@$X........", "O..OXXX++++##$$$X.O..O..", "....X$X++++++$$$X.......", "....X$$X+++$$$$$$X......", "O..OX$$XX++$$$$$$$X..O..", "....X$$X++$$$$$$$$$X....", "....X$X+$$$$$$$$$$$+X...", "O..O+X++$$$$$$$$$$$$XO..", "....+X+$$$$$$$$$$$$X+...", ".....+X$$$$$$$$$$$X+....", "O..O.+X$$$$$$$$$XXO..O..", "......+X$$$$$$$X++......", "......+X$$$$$XX+........", "O..O..O+X$$$X++O..O..O..", ".......+X$$X++..........", "........+XX+............", "O..O..O..O+.O..O..O..O..", "........................", "........................"};