diff options
-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 58efa38c254..7e24c94783b 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2078,7 +2078,7 @@ search_embedded_absfilename (nm, endp) #if defined (APOLLO) || defined (WINDOWSNT) || defined(CYGWIN) /* // at start of file name is meaningful in Apollo, WindowsNT and Cygwin systems. */ - && !(IS_DIRECTORY_SEP (p[0]) && p - 1 != nm) + && !(IS_DIRECTORY_SEP (p[0]) && p - 1 == nm) #endif /* not (APOLLO || WINDOWSNT || CYGWIN) */ ) { |