forked from mirror/OpenTTD
(svn r4001) - Add length parameter to FiosMakeSavegameName() and use this function for creating the full path instead of home-brewn snprintf.
This commit is contained in:
2
hal.h
2
hal.h
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user