Proposed fix for garbage chars at the end of pasted text introduced with 3.6.5 on OSX
parent
a88f64a159
commit
ebd52759ba
|
|
@ -1155,6 +1155,7 @@ BOOL LLWindowMacOSX::pasteTextFromClipboard(LLWString &dst)
|
|||
{
|
||||
llutf16string str(copyFromPBoard());
|
||||
dst = utf16str_to_wstring(str);
|
||||
LLWStringUtil::removeCRLF(dst); // <FS:CR>
|
||||
if (dst != L"")
|
||||
{
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue