os2.c
changeset 1572 cf4613ca991e
parent 1524 d5cb3a8cfddc
child 1580 5ffe373bd7fc
equal deleted inserted replaced
1571:9afc220894dd 1572:cf4613ca991e
   102 	// Parent directory, only if not of the type C:\.
   102 	// Parent directory, only if not of the type C:\.
   103 	if (_fios_path[3] != '\0') {
   103 	if (_fios_path[3] != '\0') {
   104 		fios = FiosAlloc();
   104 		fios = FiosAlloc();
   105 		fios->type = FIOS_TYPE_PARENT;
   105 		fios->type = FIOS_TYPE_PARENT;
   106 		fios->mtime = 0;
   106 		fios->mtime = 0;
       
   107 		strcpy(fios->name, "..");
   107 		strcpy(fios->title, ".. (Parent directory)");
   108 		strcpy(fios->title, ".. (Parent directory)");
   108 	}
   109 	}
   109 
   110 
   110 	// Show subdirectories first
   111 	// Show subdirectories first
   111 	dir = my_opendir(_fios_path, "*.*");
   112 	dir = my_opendir(_fios_path, "*.*");