Mercurial > emacs
comparison src/charset.c @ 23720:3371f3bd2057
(non_ascii_char_to_string): If C is negative, signal error.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 16 Nov 1998 06:26:27 +0000 |
parents | 5f039c506e17 |
children | 1dfb6d38354f |
comparison
equal
deleted
inserted
replaced
23719:5802b0df4800 | 23720:3371f3bd2057 |
---|---|
138 non_ascii_char_to_string (c, workbuf, str) | 138 non_ascii_char_to_string (c, workbuf, str) |
139 int c; | 139 int c; |
140 unsigned char *workbuf, **str; | 140 unsigned char *workbuf, **str; |
141 { | 141 { |
142 int charset, c1, c2; | 142 int charset, c1, c2; |
143 | |
144 if (c < 0) | |
145 invalid_character (c); | |
143 | 146 |
144 if (COMPOSITE_CHAR_P (c)) | 147 if (COMPOSITE_CHAR_P (c)) |
145 { | 148 { |
146 int cmpchar_id = COMPOSITE_CHAR_ID (c); | 149 int cmpchar_id = COMPOSITE_CHAR_ID (c); |
147 | 150 |