mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
CtrlCore: Fixed problem in sWText
This commit is contained in:
parent
a199280088
commit
caa61d8ab4
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ static String sText(const Value& data)
|
||||||
static String sWText(const Value& data)
|
static String sWText(const Value& data)
|
||||||
{
|
{
|
||||||
Vector<char16> h = ToUtf16(WString(data));
|
Vector<char16> h = ToUtf16(WString(data));
|
||||||
return String(h.begin(), sizeof(char16) * h.GetCount());
|
return String((char *)h.begin(), sizeof(char16) * h.GetCount());
|
||||||
}
|
}
|
||||||
|
|
||||||
void Append(VectorMap<String, ClipData>& data, const String& text)
|
void Append(VectorMap<String, ClipData>& data, const String& text)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue