diff options
Diffstat (limited to 'src/gamelog.cpp')
-rw-r--r-- | src/gamelog.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gamelog.cpp b/src/gamelog.cpp index c0325fd2a..62781fddd 100644 --- a/src/gamelog.cpp +++ b/src/gamelog.cpp @@ -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); |