mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-31 20:02:42 +00:00
(Ffile_name_nondirectory): Use size_byte member of
XSTRING (filename).
This commit is contained in:
parent
2cef5737de
commit
8fc91a858f
@ -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…
Reference in New Issue
Block a user