VirtualBox

Ignore:
Timestamp:
Feb 26, 2014 2:35:56 PM (11 years ago)
Author:
vboxsync
Message:

DnD/DnDURIList: RTStrAPrintf2 -> RTPathJoinA.

File:
1 edited

Legend:

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

    r50605 r50610  
    293293                    break;
    294294
    295                 char *pszRecDir = RTStrAPrintf2("%s/%s", pcszPath,
    296                                                 DirEntry.szName);
     295                char *pszRecDir = RTPathJoinA(pcszPath, DirEntry.szName);
    297296                if (pszRecDir)
    298297                {
     
    307306            case RTDIRENTRYTYPE_FILE:
    308307            {
    309                 char *pszNewFile = RTStrAPrintf2("%s/%s",
    310                                                  pcszPath, DirEntry.szName);
     308                char *pszNewFile = RTPathJoinA(pcszPath, DirEntry.szName);
    311309                if (pszNewFile)
    312310                {
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