mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-26 09:25:42 +00:00
commit
727a64e316
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ CDebug::DebugAddText(const char *str)
|
||||||
{
|
{
|
||||||
int32 i = 0;
|
int32 i = 0;
|
||||||
if (*str != '\0') {
|
if (*str != '\0') {
|
||||||
while (i < MAX_STR_LEN) {
|
while (i < MAX_STR_LEN - 1) {
|
||||||
ms_aTextBuffer[ms_nCurrentTextLine][i++] = *(str++);
|
ms_aTextBuffer[ms_nCurrentTextLine][i++] = *(str++);
|
||||||
if (*str == '\0')
|
if (*str == '\0')
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue