projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update.
[chise/xemacs-chise.git-]
/
src
/
text-coding.c
diff --git
a/src/text-coding.c
b/src/text-coding.c
index
016f343
..
fd1dc8f
100644
(file)
--- a/
src/text-coding.c
+++ b/
src/text-coding.c
@@
-2980,16
+2980,16
@@
char_encode_shift_jis (struct encoding_stream *str, Emchar ch,
}
else
{
}
else
{
- Lisp_Object charset, value;
+ Lisp_Object charset;
unsigned int c1, c2, s1, s2;
unsigned int c1, c2, s1, s2;
-
#ifdef UTF2000
#ifdef UTF2000
- if (INTP (value =
- get_char_code_table
- (ch, XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201))))
+ Lisp_Object value = charset_code_point (Vcharset_latin_jisx0201, ch);
+ Lisp_Object ret = Fcar (value);
+
+ if (INTP (ret))
{
charset = Vcharset_latin_jisx0201;
{
charset = Vcharset_latin_jisx0201;
- c1 = XINT (value);
+ c1 = XINT (ret);
c2 = 0;
}
else
c2 = 0;
}
else