summaryrefslogtreecommitdiff
path: root/src/fios.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-01-18 22:44:53 +0000
committersmatz <smatz@openttd.org>2009-01-18 22:44:53 +0000
commit3bceaf41b452e166a0cdff7ebb4febd631004790 (patch)
treec1ba5c796a2ca418d5f45c2fc31ed5c459511b92 /src/fios.h
parenta46245f21f1f81709e3d093c6fcbca213c207e43 (diff)
downloadopenttd-3bceaf41b452e166a0cdff7ebb4febd631004790.tar.xz
(svn r15144) -Codechange: make sure we don't run out of bounds while determining old savegame name
Note this can't happen in current code
Diffstat (limited to 'src/fios.h')
-rw-r--r--src/fios.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fios.h b/src/fios.h
index 4d7e07248..13c8bb295 100644
--- a/src/fios.h
+++ b/src/fios.h
@@ -106,7 +106,7 @@ bool FiosDelete(const char *name);
/* Make a filename from a name */
void FiosMakeSavegameName(char *buf, const char *name, size_t size);
/* Determines type of savegame (or tells it is not a savegame) */
-FiosType FiosGetSavegameListCallback(SaveLoadDialogMode mode, const char *file, const char *ext, char *title);
+FiosType FiosGetSavegameListCallback(SaveLoadDialogMode mode, const char *file, const char *ext, char *title, const char *last);
int CDECL compare_FiosItems(const void *a, const void *b);