fix strrepeat <0

This commit is contained in:
AzaezelX 2023-05-25 18:38:45 -05:00
parent 0d981b62cf
commit f79c6280b3

View file

@ -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 );