VirtualBox

Changeset 104775 in vbox


Ignore:
Timestamp:
May 24, 2024 1:04:35 PM (6 months ago)
Author:
vboxsync
Message:

Shared Clipboard: Make ShClUtf16LFLenUtf8 to provide proper length in characters for LF -> CRLF conversion (fixed typo), bugref:10694.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp

    r104773 r104775  
    864864        /* Check for a single carriage return (MacOS) */
    865865        if (   pcwszSrc[i] == VBOX_SHCL_CARRIAGERETURN
    866             && (i + 1 >= cwcSrc || pcwszSrc[i + 1] != VBOX_SHCL_LINEFEED))
     866            && (i + 1 >= cwSrc || pcwszSrc[i + 1] != VBOX_SHCL_LINEFEED))
    867867        {
    868868            ++cLen;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette