Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b79e8648
Commit
b79e8648
authored
Jun 21, 2011
by
Paul Eggert
Browse files
* font.c (font_score): Use EMACS_INT, not int, to store XINT value.
parent
0766b489
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
src/ChangeLog
src/ChangeLog
+2
-0
src/font.c
src/font.c
+2
-2
No files found.
src/ChangeLog
View file @
b79e8648
2011-06-22 Paul Eggert <eggert@cs.ucla.edu>
* font.c (font_score): Use EMACS_INT, not int, to store XINT value.
* dispextern.h (struct face.stipple):
* image.c (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap)
(x_bitmap_mask, x_allocate_bitmap_record)
...
...
src/font.c
View file @
b79e8648
...
...
@@ -2107,8 +2107,8 @@ font_score (Lisp_Object entity, Lisp_Object *spec_prop)
{
/* We use the higher 6-bit for the actual size difference. The
lowest bit is set if the DPI is different. */
int
diff;
int
pixel_size = XINT (spec_prop[FONT_SIZE_INDEX]);
EMACS_INT
diff;
EMACS_INT
pixel_size = XINT (spec_prop[FONT_SIZE_INDEX]);
if (CONSP (Vface_font_rescale_alist))
pixel_size *= font_rescale_ratio (entity);
...
...
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