From 5acfb5ec6f66787105057e2030636f652ffdfc48 Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 26 Mar 2005 18:04:42 +0000 Subject: (svn r2076) Set the name for the parent directory to ".." --- os2.c | 1 + unix.c | 1 + win32.c | 1 + 3 files changed, 3 insertions(+) diff --git a/os2.c b/os2.c index 4c4b93325..449a66f80 100644 --- a/os2.c +++ b/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)"); } 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)"); } diff --git a/win32.c b/win32.c index fefbaaa6d..97d87255f 100644 --- a/win32.c +++ b/win32.c @@ -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)"); } -- cgit v1.2.3-70-g09d2