Skip to content

Commit 8c56813

Browse files
author
Joachim Meyer
committed
Fixes #346.
1 parent a41c82f commit 8c56813

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/Contents/UI/Source/PolyUITextInput.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1655,6 +1655,7 @@ void UITextInput::Copy() {
16551655
void UITextInput::Paste() {
16561656
saveUndoState();
16571657
String clip = CoreServices::getInstance()->getCore()->getClipboardString().replace("\r\n", "\n");
1658+
clip = clip.replace("\r", "\n");
16581659
insertText(clip);
16591660
}
16601661

0 commit comments

Comments
 (0)