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::swprintf ( buf.data(), buf.size(), format.wc_str()
|
||||||
, std::forward<Args>(args)... );
|
, std::forward<Args>(args)... );
|
||||||
std::wstring s(buf.data());
|
setString(buf.data());
|
||||||
_assign(s);
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue