mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Missed a couple +1s here and there
This commit is contained in:
parent
396fe5b0ad
commit
e6e97e660c
7 changed files with 17 additions and 18 deletions
|
|
@ -908,7 +908,7 @@ ConsoleFunction(echoThru, const char*, 2, 0, "(string passthru, string text...)"
|
|||
char *ret = Con::getReturnBuffer(len + 1);
|
||||
ret[0] = 0;
|
||||
for(i = 2; i < argc; i++)
|
||||
dStrcat(ret, argv[i], len);
|
||||
dStrcat(ret, argv[i], len + 1);
|
||||
|
||||
Con::printf("%s -- [%s]", ret, argv[1].getStringValue());
|
||||
ret[0] = 0;
|
||||
|
|
@ -928,7 +928,7 @@ ConsoleFunction(warnThru, const char*, 2, 0, "(string passthru, string text...)"
|
|||
char *ret = Con::getReturnBuffer(len + 1);
|
||||
ret[0] = 0;
|
||||
for(i = 2; i < argc; i++)
|
||||
dStrcat(ret, argv[i], len);
|
||||
dStrcat(ret, argv[i], len + 1);
|
||||
|
||||
Con::warnf("%s -- [%s]", ret, argv[1].getStringValue());
|
||||
ret[0] = 0;
|
||||
|
|
@ -948,7 +948,7 @@ ConsoleFunction(errorThru, const char*, 2, 0, "(string passthru, string text...)
|
|||
char *ret = Con::getReturnBuffer(len + 1);
|
||||
ret[0] = 0;
|
||||
for(i = 2; i < argc; i++)
|
||||
dStrcat(ret, argv[i], len);
|
||||
dStrcat(ret, argv[i], len + 1);
|
||||
|
||||
Con::errorf("%s -- [%s]", ret, argv[1].getStringValue());
|
||||
ret[0] = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue