1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-14 23:40:39 -08:00

* dired.c (directory_files_internal): Use STRING_SET_CHARS.

This commit is contained in:
Ken Raeburn 2002-07-15 02:14:17 +00:00
parent 7412b6fdd2
commit 437fcd47c6

View file

@ -275,7 +275,7 @@ directory_files_internal (directory, full, match, nosort, attrs)
if (nchars > nbytes)
abort ();
SCHARS (fullname) = nchars;
STRING_SET_CHARS (fullname, nchars);
if (nchars == nbytes)
STRING_SET_UNIBYTE (fullname);