it->pixel_width = 0;
it->nglyphs = 0;
- lh = Fget_text_property (IT_CHARPOS (*it), Qline_height, it->object);
+ lh = Fget_text_property (make_number (IT_CHARPOS (*it)),
+ Qline_height, it->object);
if (EQ (lh, Qt))
{
if (INTEGERP (lh))
explicit_height = XINT (lh);
else if (FLOATP (lh))
- explicit_height = (it->phys_ascent + it->phys_descent) * XFLOAT_DATA (lh);
+ explicit_height = (it->phys_ascent + it->phys_descent)
+ * XFLOAT_DATA (lh);
if (explicit_height > it->ascent + it->descent)
it->ascent = explicit_height - it->descent;
}
- lsp = Fget_text_property (IT_CHARPOS (*it), Qline_spacing, it->object);
+ lsp = Fget_text_property (make_number (IT_CHARPOS (*it)),
+ Qline_spacing, it->object);
if (INTEGERP (lsp))
extra_line_spacing = XINT (lsp);
else if (FLOATP (lsp))
- extra_line_spacing = (it->phys_ascent + it->phys_descent) * XFLOAT_DATA (lsp);
+ extra_line_spacing = (it->phys_ascent + it->phys_descent)
+ * XFLOAT_DATA (lsp);
}
else if (it->char_to_display == '\t')
{
return inside;
}
}
- else
- return 0;
+ /* If we don't understand the format, pretend we're not in the hot-spot. */
+ return 0;
}
Lisp_Object
Lisp_Object map;
Lisp_Object x, y;
{
- int ix, iy;
if (NILP (map))
return Qnil;
Lisp_Object pointer = Qnil;
int charpos, dx, dy, width, height;
Lisp_Object string, object = Qnil;
- Lisp_Object pos, help, image;
+ Lisp_Object pos, help;
if (area == ON_MODE_LINE || area == ON_HEADER_LINE)
string = mode_line_string (w, area, &x, &y, &charpos,