Proposed fix for garbage chars at the end of pasted text introduced with 3.6.5 on OSX

Cinders 2013-09-16 17:10:57 -06:00
parent a88f64a159
commit ebd52759ba
1 changed files with 1 additions and 0 deletions

View File

@ -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;