diff src/fileio.c @ 46:6a22abad6937 r19-15

Import from CVS: tag r19-15
author cvs
date Mon, 13 Aug 2007 08:55:31 +0200
parents 8d2a9b52c682
children 56c54cf7c5b6
line wrap: on
line diff
--- a/src/fileio.c	Mon Aug 13 08:55:13 2007 +0200
+++ b/src/fileio.c	Mon Aug 13 08:55:31 2007 +0200
@@ -938,11 +938,11 @@
      Putting this call here avoids all that crud.
 
      The EQ test avoids infinite recursion.  */
-  if (! NILP (defalt) && !EQ (defalt, name)
+  if (! NILP(defalt) && !EQ (defalt, name)
       /* This saves time in a common case.  */
       && ! (XSTRING_LENGTH (defalt) >= 3
-	    && IS_DIRECTORY_SEP (XSTRING_BYTE (defalt, 0))
-	    && IS_DEVICE_SEP (XSTRING_BYTE (defalt, 1))))
+	    && (IS_DIRECTORY_SEP (XSTRING_BYTE (defalt, 0))
+		|| IS_DEVICE_SEP (XSTRING_BYTE (defalt, 1)))))
     {
       struct gcpro gcpro1;