Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
78555fbe
Commit
78555fbe
authored
Dec 18, 2000
by
Eli Zaretskii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(IT_write_glyphs): Compute the glyph face from str->face_id.
parent
5f1f5955
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/msdos.c
src/msdos.c
+4
-1
No files found.
src/ChangeLog
View file @
78555fbe
2000-12-18 Eli Zaretskii <eliz@is.elta.co.il>
* msdos.c (IT_write_glyphs): Compute the glyph face from
str->face_id.
2000-12-18 Kenichi Handa <handa@etl.go.jp>
* process.c (read_process_output): Don't run a filter if the code
...
...
src/msdos.c
View file @
78555fbe
...
...
@@ -999,6 +999,9 @@ IT_write_glyphs (struct glyph *str, int str_len)
register GLYPH g = GLYPH_FROM_CHAR_GLYPH (*str);
int glyph_not_in_table = 0;
/* If g is negative, it means we have a multibyte character
in *str. That's what GLYPH_FROM_CHAR_GLYPH returns for
multibyte characters. */
if (g < 0 || g >= tlen)
{
/* This glyph doesn't have an entry in Vglyph_table. */
...
...
@@ -1034,7 +1037,7 @@ IT_write_glyphs (struct glyph *str, int str_len)
/* If the face of this glyph is different from the current
screen face, update the screen attribute byte. */
cf
=
FAST_GLYPH_FACE
(
g
)
;
cf =
str->face_id
;
if (cf != screen_face)
IT_set_face (cf); /* handles invalid faces gracefully */
...
...
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