forked from mirror/OpenTTD
(svn r2076) Set the name for the parent directory to ".."
This commit is contained in:
1
os2.c
1
os2.c
@@ -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
1
unix.c
@@ -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)");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user