(svn r3379) -Fix: protect showhelp against any possible overflow

-Add: [ FS#15 ] Added revision / version at top of help (./openttd -h)
This commit is contained in:
truelight
2006-01-06 22:52:31 +00:00
parent 79ce0def50
commit 835cd6ea28
3 changed files with 28 additions and 10 deletions

View File

@@ -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 */