changeset 95483:d3cbd7d56845

(font_pixel_size): Don't take cdr of an integer.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 02 Jun 2008 16:40:59 +0000
parents e6cb877986c1
children a806f375466b
files src/font.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/font.c	Mon Jun 02 16:40:39 2008 +0000
+++ b/src/font.c	Mon Jun 02 16:40:59 2008 +0000
@@ -266,7 +266,7 @@
   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);