view etc/images/fld-open.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 28718fa5d988
children
line wrap: on
line source

/* XPM */
static char *magick[] = {
/* columns rows colors chars-per-pixel */
"24 24 4 1",
"  c Gray0",
". c #909090909090",
"X c #fefefefefefe",
"o c None",
/* pixels */
"oooooooooooooooooooooooo",
"oooooooooooooooooooooooo",
"oooooooooooooooooooooooo",
"oooooooooooooooooooooooo",
"oooooooooooooooooooooooo",
"oooooooooooooo  oooooooo",
"ooooooooooo   .. ooooooo",
"oooo  oo   ....XXo   ooo",
"ooo ..  ....XXXX  .. ooo",
"ooo .....XXXXX  .... ooo",
"oooo ..XXXXX  ...... ooo",
"oooo ..XXX  ........ ooo",
"ooooo .XX .......... ooo",
"ooooo ..X .......... ooo",
"oooooo .X .......... ooo",
"oooooo .. ........  oooo",
"ooooooo . ......  oooooo",
"ooooooo . ..... oooooooo",
"oooooooo  ...  ooooooooo",
"oooooooo  .  ooooooooooo",
"ooooooooo  ooooooooooooo",
"oooooooooooooooooooooooo",
"oooooooooooooooooooooooo",
"oooooooooooooooooooooooo"
};