Commit 8fc91a85 authored by Kenichi Handa's avatar Kenichi Handa

(Ffile_name_nondirectory): Use size_byte member of

XSTRING (filename).
parent 2cef5737
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment