From ebd52759ba1e8b7e01fae9eedfb2d520e169f476 Mon Sep 17 00:00:00 2001 From: Cinders Date: Mon, 16 Sep 2013 17:10:57 -0600 Subject: [PATCH] Proposed fix for garbage chars at the end of pasted text introduced with 3.6.5 on OSX --- indra/llwindow/llwindowmacosx.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp index aaf79f6e76..79e4f706fd 100755 --- a/indra/llwindow/llwindowmacosx.cpp +++ b/indra/llwindow/llwindowmacosx.cpp @@ -1155,6 +1155,7 @@ BOOL LLWindowMacOSX::pasteTextFromClipboard(LLWString &dst) { llutf16string str(copyFromPBoard()); dst = utf16str_to_wstring(str); + LLWStringUtil::removeCRLF(dst); // if (dst != L"") { return true;