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
5ad03b97
Commit
5ad03b97
authored
Mar 16, 2011
by
Paul Eggert
Browse files
* font.c (font_sort_entities): Mark var as initialized.
parent
3ddb0639
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
src/ChangeLog
src/ChangeLog
+1
-0
src/font.c
src/font.c
+1
-1
No files found.
src/ChangeLog
View file @
5ad03b97
...
...
@@ -2,6 +2,7 @@
* font.c (font_unparse_fcname): Abort in an "impossible" situation
instead of using an uninitialized var.
(font_sort_entities): Mark var as initialized.
* character.h (FETCH_CHAR_ADVANCE): Rename locals to avoid shadowing.
src/font.c
View file @
5ad03b97
...
...
@@ -2177,7 +2177,7 @@ font_sort_entities (Lisp_Object list, Lisp_Object prefer, Lisp_Object frame, int
unsigned
best_score
;
Lisp_Object
best_entity
;
struct
frame
*
f
=
XFRAME
(
frame
);
Lisp_Object
tail
,
vec
;
Lisp_Object
tail
,
vec
IF_LINT
(
=
Qnil
)
;
USE_SAFE_ALLOCA
;
for
(
i
=
FONT_WEIGHT_INDEX
;
i
<=
FONT_AVGWIDTH_INDEX
;
i
++
)
...
...
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