summaryrefslogtreecommitdiff
path: root/unix.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-03-26 18:04:42 +0000
committertron <tron@openttd.org>2005-03-26 18:04:42 +0000
commit742513d7080599fff21fd758d58ddb191fb922f3 (patch)
tree5d2d21a67ff95ab7c9fbb24a23a1debe9e562b77 /unix.c
parentcef2e24ec4178a4ed84accf719cccb31a54978bf (diff)
downloadopenttd-742513d7080599fff21fd758d58ddb191fb922f3.tar.xz
(svn r2076) Set the name for the parent directory to ".."
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix.c b/unix.c
index 0da9fa5da..5ab036852 100644
--- a/unix.c
+++ b/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)");
}