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
f3d29551
Commit
f3d29551
authored
Oct 08, 2008
by
Chong Yidong
Browse files
(fontset_find_font): Check frame validity.
parent
edc3ecf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/fontset.c
src/fontset.c
+3
-3
No files found.
src/fontset.c
View file @
f3d29551
...
...
@@ -516,9 +516,9 @@ fontset_find_font (fontset, c, face, id, fallback)
int
id
,
fallback
;
{
Lisp_Object
elt
,
vec
,
font_group
;
int
i
;
FRAME_PTR
f
=
X
FRAME
(
FONTSET_FRAME
(
fontset
))
;
int
charset_matched
=
-
1
;
int
i
,
charset_matched
=
-
1
;
FRAME_PTR
f
=
(
FRAME
P
(
FONTSET_FRAME
(
fontset
))
)
?
XFRAME
(
selected_frame
)
:
XFRAME
(
FONTSET_FRAME
(
fontset
))
;
font_group
=
fontset_get_font_group
(
fontset
,
fallback
?
-
1
:
c
);
if
(
!
CONSP
(
font_group
))
...
...
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