diff options
author | truelight <truelight@openttd.org> | 2006-01-06 22:52:31 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2006-01-06 22:52:31 +0000 |
commit | 835cd6ea2897fed19bcdbdf5f237102a22065502 (patch) | |
tree | bcbe71fd499d92db668ecf04b5e0a41fd2226d96 /driver.h | |
parent | 79ce0def50f4d2c3e9956c9a5e7c93d893c1f465 (diff) | |
download | openttd-835cd6ea2897fed19bcdbdf5f237102a22065502.tar.xz |
(svn r3379) -Fix: protect showhelp against any possible overflow
-Add: [ FS#15 ] Added revision / version at top of help (./openttd -h)
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); -void GetDriverList(char* p); +int GetDriverList(char* p, int size); #endif /* DRIVER_H */ |