diff options
| author | Kenichi Handa | 1998-03-03 01:29:16 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-03-03 01:29:16 +0000 |
| commit | 8fc91a858fc7d5848e1ee3375283bb160e4e439e (patch) | |
| tree | d6464775ee65908afe0129b9397f345f1adedfc3 | |
| parent | 2cef5737de1aa5a1c3c66c59a22fb32fba6c391a (diff) | |
| download | emacs-8fc91a858fc7d5848e1ee3375283bb160e4e439e.tar.gz emacs-8fc91a858fc7d5848e1ee3375283bb160e4e439e.zip | |
(Ffile_name_nondirectory): Use size_byte member of
XSTRING (filename).
| -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 |