VirtualBox

Changeset 85472 in vbox for trunk


Ignore:
Timestamp:
Jul 27, 2020 6:03:56 PM (4 years ago)
Author:
vboxsync
Message:

DnD/VBoxTray: Use DND_PATH_SEPARATOR + DND_FORMATS_SEPARATOR.

Location:
trunk/src/VBox/Additions/WINNT/VBoxTray
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnD.cpp

    r85371 r85472  
    558558                    {
    559559                        RTCList<RTCString> lstFormats =
    560                             RTCString(pVbglR3Event->u.HG_Enter.pszFormats, pVbglR3Event->u.HG_Enter.cbFormats - 1).split("\r\n");
     560                            RTCString(pVbglR3Event->u.HG_Enter.pszFormats, pVbglR3Event->u.HG_Enter.cbFormats - 1).split(DND_FORMATS_SEPARATOR);
    561561                        rc = OnHgEnter(lstFormats, pVbglR3Event->u.HG_Enter.dndLstActionsAllowed);
    562562                        if (RT_FAILURE(rc))
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnDDropTarget.cpp

    r85371 r85472  
    470470                            /* Add separation between filenames.
    471471                             * Note: Also do this for the last element of the list. */
    472                             rc = RTStrAAppendExN(&pszFiles, 1 /* cPairs */, "\r\n", 2 /* Bytes */);
     472                            rc = RTStrAAppendExN(&pszFiles, 1 /* cPairs */, DND_PATH_SEPARATOR, 2 /* Bytes */);
    473473                            if (RT_SUCCESS(rc))
    474474                                cchFiles += 2; /* Include \r\n */
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