equal
deleted
inserted
replaced
88 // Parent directory, only if not in root already. |
88 // Parent directory, only if not in root already. |
89 if (_fios_path[1] != '\0') { |
89 if (_fios_path[1] != '\0') { |
90 fios = FiosAlloc(); |
90 fios = FiosAlloc(); |
91 fios->type = FIOS_TYPE_PARENT; |
91 fios->type = FIOS_TYPE_PARENT; |
92 fios->mtime = 0; |
92 fios->mtime = 0; |
|
93 strcpy(fios->name, ".."); |
93 strcpy(fios->title, ".. (Parent directory)"); |
94 strcpy(fios->title, ".. (Parent directory)"); |
94 } |
95 } |
95 |
96 |
96 // Show subdirectories first |
97 // Show subdirectories first |
97 dir = opendir(_fios_path[0] != '\0' ? _fios_path : "/"); |
98 dir = opendir(_fios_path[0] != '\0' ? _fios_path : "/"); |