diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 6c6e073ca47..4f0fcd18bac 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -436,7 +436,7 @@ or the entire name if it contains no slash.") | |||
| 436 | return call2 (handler, Qfile_name_nondirectory, filename); | 436 | return call2 (handler, Qfile_name_nondirectory, filename); |
| 437 | 437 | ||
| 438 | beg = XSTRING (filename)->data; | 438 | beg = XSTRING (filename)->data; |
| 439 | end = p = beg + XSTRING (filename)->size; | 439 | end = p = beg + XSTRING (filename)->size_byte; |
| 440 | 440 | ||
| 441 | while (p != beg && !IS_DIRECTORY_SEP (p[-1]) | 441 | while (p != beg && !IS_DIRECTORY_SEP (p[-1]) |
| 442 | #ifdef VMS | 442 | #ifdef VMS |