diff options
author | Darkvater <Darkvater@openttd.org> | 2006-11-28 20:55:16 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-11-28 20:55:16 +0000 |
commit | b9eed2167919dc370c714c9ab08bc9b0a0e10a5a (patch) | |
tree | 5c4e14a6ee9c764ba23ada2a4c72dcc0ade951c2 /driver.h | |
parent | ea965a4adf955d8a046959dd8c3c71f3d1ab3230 (diff) | |
download | openttd-b9eed2167919dc370c714c9ab08bc9b0a0e10a5a.tar.xz |
(svn r7280) -Codechange: Replace some sprintf() functions with the safer snprintf() functions
Diffstat (limited to 'driver.h')
-rw-r--r-- | driver.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,6 +8,6 @@ void LoadDriver(int driver, const char *name); bool GetDriverParamBool(const char* const* parm, const char* name); int GetDriverParamInt(const char* const* parm, const char* name, int def); -char *GetDriverList(char* p); +char *GetDriverList(char *p, const char *last); #endif /* DRIVER_H */ |