changeset 33347:07dd05556e82

(directory_files_internal): Fix a braino.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 09 Nov 2000 15:42:35 +0000
parents 8b937b4669a8
children af3d766a1234
files src/dired.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/dired.c	Thu Nov 09 14:48:39 2000 +0000
+++ b/src/dired.c	Thu Nov 09 15:42:35 2000 +0000
@@ -251,8 +251,7 @@
 			 directory_nbytes);
 		  
 		  if (needsep)
-		    XSTRING (fullname)->data[directory_nbytes + 1]
-		      = DIRECTORY_SEP;
+		    XSTRING (fullname)->data[directory_nbytes] = DIRECTORY_SEP;
 		  
 		  bcopy (XSTRING (name)->data,
 			 XSTRING (fullname)->data + directory_nbytes + needsep,