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
285e85c6
Commit
285e85c6
authored
Feb 12, 2009
by
Kenichi Handa
Browse files
(encode_terminal_code): Adjusted for the change of
<struct glyph>.u.cmp.to. (append_composite_glyph): Likewise.
parent
648ab841
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/term.c
src/term.c
+3
-3
No files found.
src/term.c
View file @
285e85c6
...
...
@@ -604,7 +604,7 @@ encode_terminal_code (src, src_len, coding)
if
(
src
->
u
.
cmp
.
automatic
)
{
gstring
=
composition_gstring_from_id
(
src
->
u
.
cmp
.
id
);
required
=
src
->
u
.
cmp
.
to
-
src
->
u
.
cmp
.
from
;
required
=
src
->
u
.
cmp
.
to
+
1
-
src
->
u
.
cmp
.
from
;
}
else
{
...
...
@@ -621,7 +621,7 @@ encode_terminal_code (src, src_len, coding)
}
if
(
src
->
u
.
cmp
.
automatic
)
for
(
i
=
src
->
u
.
cmp
.
from
;
i
<
src
->
u
.
cmp
.
to
;
i
++
)
for
(
i
=
src
->
u
.
cmp
.
from
;
i
<
=
src
->
u
.
cmp
.
to
;
i
++
)
{
Lisp_Object
g
=
LGSTRING_GLYPH
(
gstring
,
i
);
int
c
=
LGLYPH_CHAR
(
g
);
...
...
@@ -1788,7 +1788,7 @@ append_composite_glyph (it)
glyph
->
u
.
cmp
.
automatic
=
1
;
glyph
->
u
.
cmp
.
id
=
it
->
cmp_it
.
id
;
glyph
->
u
.
cmp
.
from
=
it
->
cmp_it
.
from
;
glyph
->
u
.
cmp
.
to
=
it
->
cmp_it
.
to
;
glyph
->
u
.
cmp
.
to
=
it
->
cmp_it
.
to
-
1
;
}
glyph
->
face_id
=
it
->
face_id
;
...
...
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