- Fixed: wrong FString 'Replace' action function.

The function replaced only the first character of the first argument with the first character of the second argument.
This commit is contained in:
Edoardo Prezioso 2017-01-17 09:56:45 +01:00 committed by Christoph Oelckers
parent bfb7b82bcc
commit c317a4cbf3

View file

@ -926,7 +926,7 @@ DEFINE_ACTION_FUNCTION(FString, Replace)
PARAM_SELF_STRUCT_PROLOGUE(FString);
PARAM_STRING(s1);
PARAM_STRING(s2);
self->Substitute(*s1, *s2);
self->Substitute(s1, s2);
return 0;
}