mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 13:39:09 +00:00
(svn r1042) -Fix: [Network] Hopefully enabled revision-check for windows (somehow
windows uses WITH_REV_HACK instead of WITH_REV :s)
This commit is contained in:
@@ -47,8 +47,13 @@ enum {
|
||||
static NetworkGameList *_selected_item = NULL;
|
||||
static int8 _selected_company_item = -1;
|
||||
|
||||
#ifdef WITH_REV
|
||||
extern char _openttd_revision[];
|
||||
#ifdef WITH_REV_HACK
|
||||
#define WITH_REV
|
||||
const char _openttd_revision[] = WITH_REV_HACK;
|
||||
#else
|
||||
#ifdef WITH_REV
|
||||
extern char _openttd_revision[];
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Truncates a string to max_width (via GetStringWidth) and adds 3 dots
|
||||
|
Reference in New Issue
Block a user