(svn r2076) Set the name for the parent directory to ".."

This commit is contained in:
tron
2005-03-26 18:04:42 +00:00
parent cef2e24ec4
commit 742513d708
3 changed files with 3 additions and 0 deletions

1
os2.c
View File

@@ -104,6 +104,7 @@ FiosItem *FiosGetSavegameList(int *num, int mode)
fios = FiosAlloc();
fios->type = FIOS_TYPE_PARENT;
fios->mtime = 0;
strcpy(fios->name, "..");
strcpy(fios->title, ".. (Parent directory)");
}

1
unix.c
View File

@@ -90,6 +90,7 @@ FiosItem *FiosGetSavegameList(int *num, int mode)
fios = FiosAlloc();
fios->type = FIOS_TYPE_PARENT;
fios->mtime = 0;
strcpy(fios->name, "..");
strcpy(fios->title, ".. (Parent directory)");
}

View File

@@ -1597,6 +1597,7 @@ FiosItem *FiosGetSavegameList(int *num, int mode)
fios = FiosAlloc();
fios->type = FIOS_TYPE_PARENT;
fios->mtime = 0;
strcpy(fios->name, "..");
strcpy(fios->title, ".. (Parent directory)");
}