Small FString bug fix

This commit is contained in:
Markus Gans 2021-06-03 16:40:09 +02:00
parent 5336462e68
commit 7d426ae25c
1 changed files with 1 additions and 2 deletions

View File

@ -437,8 +437,7 @@ inline FString& FString::sprintf (const FString& format, Args&&... args)
std::swprintf ( buf.data(), buf.size(), format.wc_str()
, std::forward<Args>(args)... );
std::wstring s(buf.data());
_assign(s);
setString(buf.data());
return *this;
}