mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-14 15:30:29 -08:00
(Ffile_name_nondirectory): Use size_byte member of
XSTRING (filename).
This commit is contained in:
parent
2cef5737de
commit
8fc91a858f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue