diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:23:15 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:23:15 +0000 |
commit | 62a5715c0af49b62b331c2538025a8ab5ce6c6e5 (patch) | |
tree | d4ddd30e61ba20eca4a3ba0f63f2e33c8573dfa0 /src/VBox/Additions/darwin/VBoxClient/VBoxClientClipboardGuestToHost.cpp | |
parent | Releasing progress-linux version 7.0.18-dfsg-2~progress7.99u1. (diff) | |
download | virtualbox-62a5715c0af49b62b331c2538025a8ab5ce6c6e5.tar.xz virtualbox-62a5715c0af49b62b331c2538025a8ab5ce6c6e5.zip |
Merging upstream version 7.0.20-dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/VBox/Additions/darwin/VBoxClient/VBoxClientClipboardGuestToHost.cpp')
-rw-r--r-- | src/VBox/Additions/darwin/VBoxClient/VBoxClientClipboardGuestToHost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Additions/darwin/VBoxClient/VBoxClientClipboardGuestToHost.cpp b/src/VBox/Additions/darwin/VBoxClient/VBoxClientClipboardGuestToHost.cpp index 2cef7257..c04ddddb 100644 --- a/src/VBox/Additions/darwin/VBoxClient/VBoxClientClipboardGuestToHost.cpp +++ b/src/VBox/Additions/darwin/VBoxClient/VBoxClientClipboardGuestToHost.cpp @@ -231,7 +231,7 @@ static int vbclClipboardHostPasteText(uint32_t u32ClientId, PRTUTF16 pwszData, u AssertPtrReturn(pwszData, VERR_INVALID_POINTER); size_t cwcTmp; /* (includes a schwarzenegger character) */ - int rc = ShClUtf16LFLenUtf8(pwszData, cbData / sizeof(RTUTF16), &cwcTmp); + int rc = ShClUtf16CalcNormalizedEolToCRLFLength(pwszData, cbData / sizeof(RTUTF16), &cwcTmp); AssertRCReturn(rc, rc); cwcTmp++; /* Add space for terminator. */ |