mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 03:09:13 +00:00
No need to duplicate this code.
This commit is contained in:
@ -530,9 +530,7 @@ PL_FORMAT_IMPL(const std::string &)
|
|||||||
|
|
||||||
PL_FORMAT_IMPL(const std::wstring &)
|
PL_FORMAT_IMPL(const std::wstring &)
|
||||||
{
|
{
|
||||||
plStringBuffer<char> utf8 = plString::FromWchar(value.c_str()).ToUtf8();
|
PL_FORMAT_FORWARD(value.c_str());
|
||||||
_formatString(format, output, utf8.GetData(), utf8.GetSize(),
|
|
||||||
plFormat_Private::kAlignLeft);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PL_FORMAT_IMPL(bool)
|
PL_FORMAT_IMPL(bool)
|
||||||
|
Reference in New Issue
Block a user