Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
17e28f6d
Commit
17e28f6d
authored
Jun 02, 2008
by
Chong Yidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(font_pixel_size): Don't take cdr of an integer.
parent
6c5e8775
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/font.c
src/font.c
+1
-1
No files found.
src/font.c
View file @
17e28f6d
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment