VirtualBox

Changeset 50605 in vbox for trunk/src/VBox/GuestHost


Ignore:
Timestamp:
Feb 26, 2014 1:53:19 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92480
Message:

DnD/DnDURIList: RTPATH_DELIMITER is deprecated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/DragAndDrop/DnDURIList.cpp

    r50593 r50605  
    293293                    break;
    294294
    295                 char *pszRecDir = RTStrAPrintf2("%s%c%s", pcszPath,
    296                                                 RTPATH_DELIMITER, DirEntry.szName);
     295                char *pszRecDir = RTStrAPrintf2("%s/%s", pcszPath,
     296                                                DirEntry.szName);
    297297                if (pszRecDir)
    298298                {
     
    307307            case RTDIRENTRYTYPE_FILE:
    308308            {
    309                 char *pszNewFile = RTStrAPrintf2("%s%c%s",
    310                                                  pcszPath, RTPATH_DELIMITER, DirEntry.szName);
     309                char *pszNewFile = RTStrAPrintf2("%s/%s",
     310                                                 pcszPath, DirEntry.szName);
    311311                if (pszNewFile)
    312312                {
     
    350350    int rc;
    351351    char *pszPathNative = RTStrDup(pszPath);
    352     if (pszPathNative) 
     352    if (pszPathNative)
    353353    {
    354354        RTPathChangeToUnixSlashes(pszPathNative, true /* fForce */);
Note: See TracChangeset for help on using the changeset viewer.

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