Mercurial > emacs
view etc/images/spell.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 * spell_xpm[] = { "24 24 37 1", " c None", ". c #000000", "+ c #8BBB8C", "@ c #ABD0AC", "# c #1A3B1A", "$ c #8ABA88", "% c #B4D5B4", "& c #70A770", "* c #132C13", "= c #77A676", "- c #2D2D2D", "; c #CBDFCB", "> c #6FAE6E", ", c #A8CBA6", "' c #6D9D6C", ") c #D0E4D0", "! c #6FAF6F", "~ c #587055", "{ c #B8D6B8", "] c #5B9159", "^ c #D4E4D4", "/ c #67AF67", "( c #5D905B", "_ c #9FC59D", ": c #93BE92", "< c #B5D1B5", "[ c #67AF68", "} c #63A261", "| c #BBD6BA", "1 c #82B881", "2 c #75AF74", "3 c #6B8868", "4 c #9DC39D", "5 c #7DB17B", "6 c #6BA368", "7 c #485C46", "8 c #89BA88", " ", " ", " ", " ", " ... .... ... ", " .. . .. . .. . ", " .. . .... .. ", " ..... .. . .. ", " .. . .. . .. . . ", " .. . .... ... ... ", " .+. ", " .. .@# ", " .$. .%&. ", " *=. -;>. ", " .,'. .)!~. ", " .{].^/(. ", " ._:<[}~. ", " .|123. ", " .4567. ", " .83. ", " .37. ", " .. ", " ", " "};