]> git.eshelyaron.com Git - emacs.git/commitdiff
(font_pixel_size): Don't take cdr of an integer.
authorChong Yidong <cyd@stupidchicken.com>
Mon, 2 Jun 2008 16:40:59 +0000 (16:40 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 2 Jun 2008 16:40:59 +0000 (16:40 +0000)
src/font.c

index 042cd573eff91711d202292c2bdc21b3b44c53f3..8cd3896b0459af40a5cd30c73aeb97eb5bb19a38 100644 (file)
@@ -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);