(svn r2190) - Fix: [1179424] '.. (Parent directory)' does not show up in the root-directory anymore; win32 only (mgasterix)

This commit is contained in:
darkvater 2005-04-13 13:09:25 +00:00
parent 53d30138b2
commit 5960857d9d

View File

@ -1815,6 +1815,7 @@ char *FiosBrowseTo(const FiosItem *item)
case FIOS_TYPE_PARENT:
s = strrchr(path, '\\');
if (s != NULL) *s = '\0';
if (path[2] == '\0' ) strcat(path, "\\");
break;
case FIOS_TYPE_DIR: