diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-12 11:13:32 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-12 11:13:32 +0200 |
commit | e71b000cc5661f300ed761844bff54fae2865c4e (patch) | |
tree | 7f2386e5a9dac9320a9c8c4d05c6f696786edbb6 /src/core/Debug.cpp | |
parent | scene init (diff) | |
parent | obviously forgot about it (diff) | |
download | re3-e71b000cc5661f300ed761844bff54fae2865c4e.tar re3-e71b000cc5661f300ed761844bff54fae2865c4e.tar.gz re3-e71b000cc5661f300ed761844bff54fae2865c4e.tar.bz2 re3-e71b000cc5661f300ed761844bff54fae2865c4e.tar.lz re3-e71b000cc5661f300ed761844bff54fae2865c4e.tar.xz re3-e71b000cc5661f300ed761844bff54fae2865c4e.tar.zst re3-e71b000cc5661f300ed761844bff54fae2865c4e.zip |
Diffstat (limited to 'src/core/Debug.cpp')
-rw-r--r-- | src/core/Debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Debug.cpp b/src/core/Debug.cpp index 2b713198..917c99ab 100644 --- a/src/core/Debug.cpp +++ b/src/core/Debug.cpp @@ -24,7 +24,7 @@ CDebug::DebugAddText(const char *str) { int32 i = 0; if (*str != '\0') { - while (i < MAX_STR_LEN) { + while (i < MAX_STR_LEN - 1) { ms_aTextBuffer[ms_nCurrentTextLine][i++] = *(str++); if (*str == '\0') break; |