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
16f60add
Commit
16f60add
authored
Apr 07, 1995
by
Richard M. Stallman
Browse files
(dumpglyphs): Cast FACE_DEFAULT to (XFontStruct *)
for comparison with face->font.
parent
51417996
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/xterm.c
src/xterm.c
+2
-2
No files found.
src/xterm.c
View file @
16f60add
...
...
@@ -555,7 +555,7 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground)
stippled
=
0
;
if
((
!
face
->
font
||
(
int
)
face
->
font
==
FACE_DEFAULT
||
face
->
font
==
(
XFontStruct
*
)
FACE_DEFAULT
||
face
->
font
==
f
->
display
.
x
->
font
)
&&
face
->
background
==
f
->
display
.
x
->
background_pixel
&&
face
->
foreground
==
f
->
display
.
x
->
foreground_pixel
)
...
...
@@ -605,7 +605,7 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground)
}
}
if
(
(
int
)
font
==
FACE_DEFAULT
)
if
(
font
==
(
XFontStruct
*
)
FACE_DEFAULT
)
font
=
f
->
display
.
x
->
font
;
if
(
just_foreground
)
...
...
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