changeset 21030:293eb7d1a966

(Ffile_name_nondirectory): Use size_byte member of XSTRING (filename).
author Kenichi Handa <handa@m17n.org>
date Tue, 03 Mar 1998 01:29:16 +0000
parents 3f47b0364c2a
children 7352e0598efa
files src/fileio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Tue Mar 03 01:29:16 1998 +0000
+++ b/src/fileio.c	Tue Mar 03 01:29:16 1998 +0000
@@ -436,7 +436,7 @@
     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