diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index b48164efc69..e42b6b6e720 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -6365,7 +6365,7 @@ make_string_from_utf8 (const char *text, ptrdiff_t nbytes) | |||
| 6365 | /* If TEXT is a valid UTF-8 string, we can convert it to a Lisp | 6365 | /* If TEXT is a valid UTF-8 string, we can convert it to a Lisp |
| 6366 | string directly. Otherwise, we need to decode it. */ | 6366 | string directly. Otherwise, we need to decode it. */ |
| 6367 | if (chars == nbytes || bytes == nbytes) | 6367 | if (chars == nbytes || bytes == nbytes) |
| 6368 | return make_specified_string (text, chars, nbytes, true); | 6368 | return make_multibyte_string (text, chars, nbytes); |
| 6369 | else | 6369 | else |
| 6370 | { | 6370 | { |
| 6371 | struct coding_system coding; | 6371 | struct coding_system coding; |