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
88649c62
Commit
88649c62
authored
Jun 07, 2006
by
Kenichi Handa
Browse files
(xfont_encode_char): Fix calculation of char2b.
parent
3ec0b7a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/xfont.c
src/xfont.c
+2
-2
No files found.
src/xfont.c
View file @
88649c62
...
...
@@ -774,8 +774,8 @@ xfont_encode_char (font, c)
return
(
ENCODE_CHAR
(
charset
,
c
)
!=
CHARSET_INVALID_CODE
(
charset
)
?
code
:
0xFFFFFFFF
);
}
char2b
.
byte1
=
code
>>
16
;
char2b
.
byte2
=
code
&
0xFF
FF
;
char2b
.
byte1
=
code
>>
8
;
char2b
.
byte2
=
code
&
0xFF
;
return
(
xfont_get_pcm
(
font
->
font
.
font
,
&
char2b
)
?
code
:
0xFFFFFFFF
);
}
...
...
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