aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index a05a72e97bd..f5a800f6c16 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -1386,6 +1386,8 @@ See also the function `substitute-in-file-name'.")
1386 { 1386 {
1387 while (o != target && (--o) && !IS_DIRECTORY_SEP (*o)) 1387 while (o != target && (--o) && !IS_DIRECTORY_SEP (*o))
1388 ; 1388 ;
1389 if (o == target && IS_ANY_SEP (*o))
1390 ++o;
1389 p += 3; 1391 p += 3;
1390 } 1392 }
1391 else 1393 else