Changeset 50561 in vbox for trunk/src/VBox/GuestHost
- Timestamp:
- Feb 24, 2014 9:07:22 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92425
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/DragAndDrop/DnDURIList.cpp
r50508 r50561 183 183 184 184 /* End of file reached or error occurred? */ 185 if ( cbRead < cbToRead185 if ( m_cbProcessed == m_cbSize 186 186 || RT_FAILURE(rc)) 187 { 187 188 closeInternal(); 189 } 188 190 } 189 191 } … … 572 574 } 573 575 574 RTCString DnDURIList::RootToString(const RTCString &strBasePath /* = "" */) 576 RTCString DnDURIList::RootToString(const RTCString &strBasePath /* = "" */, 577 const RTCString &strSeparator /* = "\r\n" */) 575 578 { 576 579 RTCString strRet; … … 586 589 if (pszPathURI) 587 590 { 588 strRet += RTCString(pszPathURI) + "\r\n";591 strRet += RTCString(pszPathURI) + strSeparator; 589 592 RTStrFree(pszPathURI); 590 593 } 594 else 595 break; 591 596 RTStrFree(pszPath); 592 597 } … … 599 604 if (pszPathURI) 600 605 { 601 strRet += RTCString(pszPathURI) + "\r\n";606 strRet += RTCString(pszPathURI) + strSeparator; 602 607 RTStrFree(pszPathURI); 603 608 }
Note:
See TracChangeset
for help on using the changeset viewer.