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:
15e88d2
)
(Fstring_as_multibyte): Call multibyte_chars_in_text
author
Kenichi Handa
<handa@m17n.org>
Thu, 19 Mar 1998 07:34:29 +0000
(07:34 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Thu, 19 Mar 1998 07:34:29 +0000
(07:34 +0000)
instead of chars_in_text because we must ignore
enable-multibyte-characters here.
src/fns.c
patch
|
blob
|
blame
|
history
diff --git
a/src/fns.c
b/src/fns.c
index
1299f3d
..
34015c5
100644
(file)
--- a/
src/fns.c
+++ b/
src/fns.c
@@
-869,8
+869,8
@@
If STRING is multibyte, the result is STRING itself.")
{
if (! STRING_MULTIBYTE (string))
{
- int newlen = chars_in_text (XSTRING (string)->data,
- XSTRING (string)->size_byte);
+ int newlen =
multibyte_
chars_in_text (XSTRING (string)->data,
+
XSTRING (string)->size_byte);
/* If all the chars are ASCII, STRING is already suitable. */
if (newlen != XSTRING (string)->size_byte)
{