(svn r6766) -Codechange: Move _openttd_revision[] into the functions that use it instead of global

This commit is contained in:
Darkvater
2006-10-13 15:52:22 +00:00
parent 35b059210d
commit 1436bbbc84
5 changed files with 5 additions and 10 deletions

View File

@@ -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];