(svn r2190) - Fix: [1179424] '.. (Parent directory)' does not show up in the root-directory anymore; win32 only (mgasterix)
--- a/win32.c Tue Apr 12 10:31:26 2005 +0000
+++ b/win32.c Wed Apr 13 13:09:25 2005 +0000
@@ -1815,12 +1815,13 @@
case FIOS_TYPE_PARENT:
s = strrchr(path, '\\');
if (s != NULL) *s = '\0';
+ if (path[2] == '\0' ) strcat(path, "\\");
break;
case FIOS_TYPE_DIR:
s = strchr(item->name, '\\');
if (s != NULL) *s = '\0';
- if (path[3]!= '\0' ) strcat(path, "\\");
+ if (path[3] != '\0' ) strcat(path, "\\");
strcat(path, item->name);
break;