- changed FString API to use ptrdiff_t instead of long for signed size arguments.
This commit is contained in:
parent
1d96b68e1a
commit
c3772fe203
18 changed files with 102 additions and 102 deletions
|
|
@ -808,12 +808,12 @@ FxMultiNameState::FxMultiNameState(const char *_statestring, const FScriptPositi
|
|||
{
|
||||
FName scopename = NAME_None;
|
||||
FString statestring = _statestring;
|
||||
int scopeindex = statestring.IndexOf("::");
|
||||
auto scopeindex = statestring.IndexOf("::");
|
||||
|
||||
if (scopeindex >= 0)
|
||||
{
|
||||
scopename = FName(statestring, scopeindex, false);
|
||||
statestring = statestring.Right(statestring.Len() - scopeindex - 2);
|
||||
statestring = statestring.Right((ptrdiff_t)statestring.Len() - scopeindex - 2);
|
||||
}
|
||||
names = MakeStateNameList(statestring);
|
||||
names.Insert(0, scopename);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue