mirror of https://github.com/OpenTTD/OpenTTD
(svn r2076) Set the name for the parent directory to ".."
parent
cef2e24ec4
commit
742513d708
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)");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue