mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-30 19:53:09 +00:00
(calc_line_height_property): YAILOM (yet another int/Lisp_Object mixup).
This commit is contained in:
parent
ee99b45b27
commit
d9bf7950c2
@ -1,3 +1,8 @@
|
|||||||
|
2004-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||||
|
|
||||||
|
* xdisp.c (calc_line_height_property): YAILOM (yet another
|
||||||
|
int/Lisp_Object mixup).
|
||||||
|
|
||||||
2004-05-01 Eli Zaretskii <eliz@gnu.org>
|
2004-05-01 Eli Zaretskii <eliz@gnu.org>
|
||||||
|
|
||||||
* msdos.c (top-level): Add "#pragma pack(0)" after <dir.h>, to
|
* msdos.c (top-level): Add "#pragma pack(0)" after <dir.h>, to
|
||||||
|
@ -18572,12 +18572,12 @@ calc_line_height_property (it, prop, font, boff)
|
|||||||
|
|
||||||
face_id = lookup_named_face (it->f, face_name, ' ');
|
face_id = lookup_named_face (it->f, face_name, ' ');
|
||||||
if (face_id < 0)
|
if (face_id < 0)
|
||||||
return -1;
|
return make_number (-1);
|
||||||
|
|
||||||
face = FACE_FROM_ID (it->f, face_id);
|
face = FACE_FROM_ID (it->f, face_id);
|
||||||
font = face->font;
|
font = face->font;
|
||||||
if (font == NULL)
|
if (font == NULL)
|
||||||
return -1;
|
return make_number (-1);
|
||||||
|
|
||||||
font_info = FONT_INFO_FROM_ID (it->f, face->font_info_id);
|
font_info = FONT_INFO_FROM_ID (it->f, face->font_info_id);
|
||||||
boff = font_info->baseline_offset;
|
boff = font_info->baseline_offset;
|
||||||
|
Loading…
Reference in New Issue
Block a user