diff options
author | Darkvater <Darkvater@openttd.org> | 2006-03-21 22:08:15 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-03-21 22:08:15 +0000 |
commit | 413dd85cd7da04afb486647d0f8f77ca8f5d0449 (patch) | |
tree | b5b00ebf09959e957c1c291c92d531f5fbfcc8eb /hal.h | |
parent | 1815383ba7ed31e43034f13134f5b6a7cf704145 (diff) | |
download | openttd-413dd85cd7da04afb486647d0f8f77ca8f5d0449.tar.xz |
(svn r4001) - Add length parameter to FiosMakeSavegameName() and use this function for creating the full path instead of home-brewn snprintf.
Diffstat (limited to 'hal.h')
-rw-r--r-- | hal.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -88,7 +88,7 @@ StringID FiosGetDescText(const char **path, uint32 *tot); // Delete a name bool FiosDelete(const char *name); // Make a filename from a name -void FiosMakeSavegameName(char *buf, const char *name); +void FiosMakeSavegameName(char *buf, const char *name, size_t size); int CDECL compare_FiosItems(const void *a, const void *b); |