Small FString bug fix
This commit is contained in:
parent
5336462e68
commit
7d426ae25c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue