win32.c
changeset 1649 f4f5fabe0506
parent 1596 483007886b59
child 1686 37f64f8b0641
--- a/win32.c	Tue Apr 05 21:03:30 2005 +0000
+++ b/win32.c	Tue Apr 05 21:09:36 2005 +0000
@@ -1820,7 +1820,7 @@
 		case FIOS_TYPE_DIR:
 			s = strchr(item->name, '\\');
 			if (s != NULL) *s = '\0';
-			strcat(path, "\\");
+			if (path[3]!= '\0' ) strcat(path, "\\");
 			strcat(path, item->name);
 			break;