HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72b718d
)
(non_ascii_char_to_string): If C is negative, signal error.
author
Kenichi Handa
<handa@m17n.org>
Mon, 16 Nov 1998 06:26:27 +0000
(06:26 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 16 Nov 1998 06:26:27 +0000
(06:26 +0000)
src/charset.c
patch
|
blob
|
blame
|
history
diff --git
a/src/charset.c
b/src/charset.c
index
45fb383
..
054b284
100644
(file)
--- a/
src/charset.c
+++ b/
src/charset.c
@@
-141,6
+141,9
@@
non_ascii_char_to_string (c, workbuf, str)
{
int charset, c1, c2;
+ if (c < 0)
+ invalid_character (c);
+
if (COMPOSITE_CHAR_P (c))
{
int cmpchar_id = COMPOSITE_CHAR_ID (c);