diff src/xdisp.c @ 55301:c2bea9cc10a3

(calc_line_height_property): YAILOM (yet another int/Lisp_Object mixup).
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 01 May 2004 21:19:31 +0000
parents c5bad07bbb95
children cec2c6c3bafb
line wrap: on
line diff
--- a/src/xdisp.c	Sat May 01 21:16:07 2004 +0000
+++ b/src/xdisp.c	Sat May 01 21:19:31 2004 +0000
@@ -18572,12 +18572,12 @@
 
       face_id = lookup_named_face (it->f, face_name, ' ');
       if (face_id < 0)
-	return -1;
+	return make_number (-1);
 
       face = FACE_FROM_ID (it->f, face_id);
       font = face->font;
       if (font == NULL)
-	return -1;
+	return make_number (-1);
 
       font_info = FONT_INFO_FROM_ID (it->f, face->font_info_id);
       boff = font_info->baseline_offset;