]> git.eshelyaron.com Git - emacs.git/commitdiff
(Ffile_name_nondirectory): Use size_byte member of
authorKenichi Handa <handa@m17n.org>
Tue, 3 Mar 1998 01:29:16 +0000 (01:29 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 3 Mar 1998 01:29:16 +0000 (01:29 +0000)
XSTRING (filename).

src/fileio.c

index 6c6e073ca47a584e9798e2b282c143085da9d8a5..4f0fcd18bac4f7edfa49bb2684ef7dd2f2ab3226 100644 (file)
@@ -436,7 +436,7 @@ or the entire name if it contains no slash.")
     return call2 (handler, Qfile_name_nondirectory, filename);
 
   beg = XSTRING (filename)->data;
-  end = p = beg + XSTRING (filename)->size;
+  end = p = beg + XSTRING (filename)->size_byte;
 
   while (p != beg && !IS_DIRECTORY_SEP (p[-1])
 #ifdef VMS