Mercurial > emacs
view etc/images/gnus/uu-decode.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 * uu_decode_xpm[] = { "24 24 9 1", " c None", ". c #919187876969", "X c #C2C2B9B99C9C", "o c #868686868686", "O c #8F8F8F8F8F8F", "+ c #000000000000", "@ c #4C4C4C4C4C4C", "# c #E9E9EFEFE8E8", "$ c #8686ADAD7D7D", " ", " ", " ", " .............. ", " X.o.........O.++ ", " XX++++++++++..++ ", " XX@########+..++ ", " XX@########+..++ ", " XX@$#$$$#$#+..++ ", " XX@#$$$$$$#+..++ ", " XX@##$#####+..++ ", " XX@##$#$$##+..++ ", " XX@##$#$$##+..++ ", " XX@##$$#$$#+..++ ", " XX@######$#+..++ ", " XX@########+..++ ", " XX@########+..++ ", " XX.@@@@@@@@@..++ ", " X.XXXXXXXXXX..++ ", " .XXXXXXXXXXXX.++ ", " +++++++++++++++ ", " +++++++++++++++ ", " ", " "};