]> git.eshelyaron.com Git - emacs.git/commitdiff
* dired.c (directory_files_internal): Use STRING_SET_CHARS.
authorKen Raeburn <raeburn@raeburn.org>
Mon, 15 Jul 2002 02:14:17 +0000 (02:14 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Mon, 15 Jul 2002 02:14:17 +0000 (02:14 +0000)
src/dired.c

index ec1686ffe14e525721f219114e15fad21044a5cb..d43c3eb2119fb358bbc95876bb559d9bede5666b 100644 (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);