forked from mirror/OpenTTD
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
This commit is contained in:
@@ -85,11 +85,9 @@ void GamelogReset()
|
||||
_current_action = NULL;
|
||||
}
|
||||
|
||||
enum {
|
||||
GAMELOG_BUF_LEN = 1024 ///< length of buffer for one line of text
|
||||
};
|
||||
static const uint GAMELOG_BUF_LEN = 1024; ///< length of buffer for one line of text
|
||||
|
||||
static int _dbgofs = 0; ///< offset in current output buffer
|
||||
static uint _dbgofs = 0; ///< offset in current output buffer
|
||||
|
||||
static void AddDebugText(char *buf, const char *s, ...) WARN_FORMAT(2, 3);
|
||||
|
||||
|
Reference in New Issue
Block a user