mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
fix strrepeat <0
This commit is contained in:
parent
0d981b62cf
commit
f79c6280b3
|
|
@ -738,7 +738,7 @@ DefineEngineFunction( strrepeat, const char*, ( const char* str, S32 numTimes, c
|
|||
{
|
||||
StringBuilder result;
|
||||
bool isFirst = false;
|
||||
for( U32 i = 0; i < numTimes; ++ i )
|
||||
for( S32 i = 0; i < numTimes; ++ i )
|
||||
{
|
||||
if( !isFirst )
|
||||
result.append( delimiter );
|
||||
|
|
|
|||
Loading…
Reference in a new issue