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 /video/sdl_v.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 'video/sdl_v.c')
-rw-r--r-- | video/sdl_v.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/sdl_v.c b/video/sdl_v.c index b8b79b86b..5ffd33dbf 100644 --- a/video/sdl_v.c +++ b/video/sdl_v.c @@ -156,8 +156,6 @@ static void GetAvailableVideoMode(int *w, int *h) *h = _resolutions[best][1]; } -extern const char _openttd_revision[]; - #ifndef ICON_DIR #define ICON_DIR "media" #endif @@ -171,6 +169,7 @@ extern const char _openttd_revision[]; static bool CreateMainSurface(int w, int h) { + extern const char _openttd_revision[]; SDL_Surface *newscreen, *icon; char caption[50]; |