summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--os2.c1
-rw-r--r--unix.c1
-rw-r--r--win32.c1
3 files changed, 3 insertions, 0 deletions
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)");
}