mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Merge pull request #1025 from Azaezel/alpha41/unsignedunmangle
fix strrepeat <0
This commit is contained in:
commit
687fd97ce0
1 changed files with 1 additions and 1 deletions
|
|
@ -738,7 +738,7 @@ DefineEngineFunction( strrepeat, const char*, ( const char* str, S32 numTimes, c
|
||||||
{
|
{
|
||||||
StringBuilder result;
|
StringBuilder result;
|
||||||
bool isFirst = false;
|
bool isFirst = false;
|
||||||
for( U32 i = 0; i < numTimes; ++ i )
|
for( S32 i = 0; i < numTimes; ++ i )
|
||||||
{
|
{
|
||||||
if( !isFirst )
|
if( !isFirst )
|
||||||
result.append( delimiter );
|
result.append( delimiter );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue