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
88d9cecb
Commit
88d9cecb
authored
Nov 22, 1995
by
Richard M. Stallman
Browse files
(Fset_face_attribute_internal) [MSDOS]: Set font field to 1.
parent
64ec6a02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/xfaces.c
src/xfaces.c
+3
-1
No files found.
src/xfaces.c
View file @
88d9cecb
...
...
@@ -1156,7 +1156,9 @@ DEFUN ("set-face-attribute-internal", Fset_face_attribute_internal,
if
(
EQ
(
attr_name
,
intern
(
"font"
)))
{
#if defined (MSDOS) && !defined (HAVE_X_WINDOWS)
face
->
font
=
0
;
/* The one and only font. */
/* The one and only font. Must *not* be zero (which
is taken to mean an unused face nowadays). */
face
->
font
=
(
XFontStruct
*
)
1
;
#else
XFontStruct
*
font
=
load_font
(
f
,
attr_value
);
if
(
face
->
font
!=
f
->
output_data
.
x
->
font
)
...
...
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