mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-24 00:53:47 +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;
|
||||
bool isFirst = false;
|
||||
for( U32 i = 0; i < numTimes; ++ i )
|
||||
for( S32 i = 0; i < numTimes; ++ i )
|
||||
{
|
||||
if( !isFirst )
|
||||
result.append( delimiter );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue