Mercurial > emacs
annotate etc/letter.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 | bc20bf61a6e9 |
children |
rev | line source |
---|---|
43002
292640c5a4d0
New file, XPM variant of letter.xbm.
Pavel Janík <Pavel@Janik.cz>
parents:
diff
changeset
|
1 /* XPM */ |
292640c5a4d0
New file, XPM variant of letter.xbm.
Pavel Janík <Pavel@Janik.cz>
parents:
diff
changeset
|
2 static char * letter_xpm[] = { |
292640c5a4d0
New file, XPM variant of letter.xbm.
Pavel Janík <Pavel@Janik.cz>
parents:
diff
changeset
|
3 "14 10 2 1", |
50393 | 4 ". c opaque", |
5 " c None", | |
43002
292640c5a4d0
New file, XPM variant of letter.xbm.
Pavel Janík <Pavel@Janik.cz>
parents:
diff
changeset
|
6 "..............", |
292640c5a4d0
New file, XPM variant of letter.xbm.
Pavel Janík <Pavel@Janik.cz>
parents:
diff
changeset
|
7 "... ...", |
292640c5a4d0
New file, XPM variant of letter.xbm.
Pavel Janík <Pavel@Janik.cz>
parents:
diff
changeset
|
8 ". . . .", |
292640c5a4d0
New file, XPM variant of letter.xbm.
Pavel Janík <Pavel@Janik.cz>
parents:
diff
changeset
|
9 ". . . .", |
292640c5a4d0
New file, XPM variant of letter.xbm.
Pavel Janík <Pavel@Janik.cz>
parents:
diff
changeset
|
10 ". .... .", |
292640c5a4d0
New file, XPM variant of letter.xbm.
Pavel Janík <Pavel@Janik.cz>
parents:
diff
changeset
|
11 ". . .. . .", |
292640c5a4d0
New file, XPM variant of letter.xbm.
Pavel Janík <Pavel@Janik.cz>
parents:
diff
changeset
|
12 ". . . .", |
292640c5a4d0
New file, XPM variant of letter.xbm.
Pavel Janík <Pavel@Janik.cz>
parents:
diff
changeset
|
13 ". . . .", |
292640c5a4d0
New file, XPM variant of letter.xbm.
Pavel Janík <Pavel@Janik.cz>
parents:
diff
changeset
|
14 ".. ..", |
292640c5a4d0
New file, XPM variant of letter.xbm.
Pavel Janík <Pavel@Janik.cz>
parents:
diff
changeset
|
15 ".............."}; |