From: Chong Yidong Date: Mon, 2 Jun 2008 16:40:59 +0000 (+0000) Subject: (font_pixel_size): Don't take cdr of an integer. X-Git-Tag: emacs-pretest-23.0.90~5156 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=17e28f6d738d766f4a2dc1f60bab79f1fb82377c;p=emacs.git (font_pixel_size): Don't take cdr of an integer. --- diff --git a/src/font.c b/src/font.c index 042cd573eff..8cd3896b045 100644 --- a/src/font.c +++ b/src/font.c @@ -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);