Commit 17e28f6d authored by Chong Yidong's avatar Chong Yidong

(font_pixel_size): Don't take cdr of an integer.

parent 6c5e8775
......@@ -266,7 +266,7 @@ font_pixel_size (f, spec)
point_size = XFLOAT_DATA (size);
val = AREF (spec, FONT_DPI_INDEX);
if (INTEGERP (val))
dpi = XINT (XCDR (val));
dpi = XINT (val);
else
dpi = f->resy;
pixel_size = POINT_TO_PIXEL (point_size, dpi);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment