Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
12b55765
Commit
12b55765
authored
Apr 09, 2009
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(map_charset_chars): For a charset of `superset'
method, fix calculation of code range.
parent
483670b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
src/ChangeLog
src/ChangeLog
+3
-0
src/charset.c
src/charset.c
+2
-2
No files found.
src/ChangeLog
View file @
12b55765
2009-04-09 Kenichi Handa <handa@m17n.org>
* charset.c (map_charset_chars): For a charset of `superset'
method, fix calculation of code range.
* font.c (font_put_extra): If VAL is nil, delete the slot for PROP
from the list of extra properties.
(font_clear_prop): Be sure to delete `:name' font property.
...
...
src/charset.c
View file @
12b55765
...
...
@@ -809,8 +809,8 @@ map_charset_chars (c_function, function, arg,
charset
=
CHARSET_FROM_ID
(
XFASTINT
(
XCAR
(
XCAR
(
parents
))));
offset
=
XINT
(
XCDR
(
XCAR
(
parents
)));
this_from
=
from
-
offset
;
this_to
=
to
-
offset
;
this_from
=
from
>
offset
?
from
-
offset
:
0
;
this_to
=
to
>
offset
?
to
-
offset
:
0
;
if
(
this_from
<
CHARSET_MIN_CODE
(
charset
))
this_from
=
CHARSET_MIN_CODE
(
charset
);
if
(
this_to
>
CHARSET_MAX_CODE
(
charset
))
...
...
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