summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1998-04-06 05:06:12 +0000
committerKenichi Handa <handa@m17n.org>1998-04-06 05:06:12 +0000
commit1d0fed5aed5145c213391f1684f4f1c3e208c46d (patch)
tree98b892161eef1a26c320d17c0b5b89474c2c6b64 /src/fns.c
parentfeedff32a4ca4039c2d313c18f834c08c92f4663 (diff)
downloademacs-1d0fed5aed5145c213391f1684f4f1c3e208c46d.tar.gz
(Fstring_as_unibyte): Set size_byte field to -1.
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fns.c b/src/fns.c
index c98cb2547b8..7bd7c5b613a 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -858,6 +858,7 @@ If STRING is unibyte, the result is STRING itself.")
{
string = Fcopy_sequence (string);
XSTRING (string)->size = STRING_BYTES (XSTRING (string));
+ SET_STRING_BYTES (XSTRING (string), -1);
}
return string;
}