projects
/
chise
/
xemacs-chise.git-
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
582b666
)
(Fmake_string): Add case 5 and 6 for UTF2000.
author
tomo
<tomo>
Tue, 15 Jun 1999 01:21:59 +0000
(
01:21
+0000)
committer
tomo
<tomo>
Tue, 15 Jun 1999 01:21:59 +0000
(
01:21
+0000)
src/alloc.c
patch
|
blob
|
history
diff --git
a/src/alloc.c
b/src/alloc.c
index
15deca8
..
a5a3857
100644
(file)
--- a/
src/alloc.c
+++ b/
src/alloc.c
@@
-2070,6
+2070,10
@@
LENGTH must be an integer and INIT must be a character.
Bufbyte *init_ptr = init_str;
switch (len)
{
+#ifdef UTF2000
+ case 6: *ptr++ = *init_ptr++;
+ case 5: *ptr++ = *init_ptr++;
+#endif
case 4: *ptr++ = *init_ptr++;
case 3: *ptr++ = *init_ptr++;
case 2: *ptr++ = *init_ptr++;