summaryrefslogtreecommitdiff
path: root/src/dired.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dired.c')
-rw-r--r--src/dired.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dired.c b/src/dired.c
index 04b14f6c4a5..4994241c2cf 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -218,7 +218,7 @@ directory_files_internal (directory, full, match, nosort, attrs)
struct gcpro gcpro1, gcpro2;
len = NAMLEN (dp);
- name = finalname = make_string (dp->d_name, len);
+ name = finalname = make_unibyte_string (dp->d_name, len);
GCPRO2 (finalname, name);
/* Note: ENCODE_FILE can GC; it should protect its argument,