diff options
author | tron <tron@openttd.org> | 2005-03-26 18:04:42 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-03-26 18:04:42 +0000 |
commit | 5acfb5ec6f66787105057e2030636f652ffdfc48 (patch) | |
tree | 5d2d21a67ff95ab7c9fbb24a23a1debe9e562b77 | |
parent | 92f6fe9f6b113a78de8f10f66b284e0391cc09c8 (diff) | |
download | openttd-5acfb5ec6f66787105057e2030636f652ffdfc48.tar.xz |
(svn r2076) Set the name for the parent directory to ".."
-rw-r--r-- | os2.c | 1 | ||||
-rw-r--r-- | unix.c | 1 | ||||
-rw-r--r-- | win32.c | 1 |
3 files changed, 3 insertions, 0 deletions
@@ -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)"); } @@ -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)"); } @@ -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)"); } |