summaryrefslogtreecommitdiff
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index b8ed3a35957..84cf5c8f34d 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -6367,7 +6367,7 @@ make_string_from_utf8 (const char *text, ptrdiff_t nbytes)
/* If TEXT is a valid UTF-8 string, we can convert it to a Lisp
string directly. Otherwise, we need to decode it. */
if (chars == nbytes || bytes == nbytes)
- return make_specified_string (text, chars, nbytes, true);
+ return make_multibyte_string (text, chars, nbytes);
else
{
struct coding_system coding;