diff options
author | Darkvater <Darkvater@openttd.org> | 2006-10-13 15:52:22 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-10-13 15:52:22 +0000 |
commit | 9878797e4584ff0d3955021483e6c7b1dbb0f3a7 (patch) | |
tree | d89c2e1cd2ccca083f9c360a39f87aa236e901af /strings.c | |
parent | 1e79d68a340565b2a84b21dbd2e229a34fcb9f94 (diff) | |
download | openttd-9878797e4584ff0d3955021483e6c7b1dbb0f3a7.tar.xz |
(svn r6766) -Codechange: Move _openttd_revision[] into the functions that use it instead of global
Diffstat (limited to 'strings.c')
-rw-r--r-- | strings.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -37,8 +37,6 @@ static char *GetSpecialPlayerNameString(char *buff, int ind, const int32 *argv); static char *FormatString(char *buff, const char *str, const int32 *argv, uint casei); -extern const char _openttd_revision[]; - typedef struct LanguagePack { uint32 ident; uint32 version; // 32-bits of auto generated version info which is basically a hash of strings.h @@ -568,6 +566,7 @@ static const Units units[] = { static char *FormatString(char *buff, const char *str, const int32 *argv, uint casei) { + extern const char _openttd_revision[]; byte b; const int32 *argv_orig = argv; uint modifier = 0; |