Changeset 2126
- Timestamp:
- 5/15/2010 12:34:09 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/eraser/Eraser.Shell/CtxMenu.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser/Eraser.Shell/CtxMenu.cpp
r2121 r2126 556 556 } 557 557 558 if (*DragDropDestinationDirectory.rbegin() == '\\') 559 DragDropDestinationDirectory += '\\'; 558 560 commandLine += L"\"/destination=" + DragDropDestinationDirectory + L"\""; 559 561 break; … … 562 564 { 563 565 //Set the destination for the paste operation. 566 if (*DragDropDestinationDirectory.rbegin() == '\\') 567 DragDropDestinationDirectory += '\\'; 564 568 commandLine += L"\"/destination=" + DragDropDestinationDirectory + L"\""; 565 569 … … 592 596 i != SelectedFiles.end(); ++i) 593 597 { 594 commandLine += L"\"" + *i + L"\" "; 598 std::wstring path(*i); 599 if (path[path.length() - 1] == '\\') 600 path += '\\'; 601 commandLine += L" \"" + path + L"\""; 595 602 } 596 603 … … 1032 1039 finalParameters).c_str()); 1033 1040 1041 MessageBox(NULL, &buffer.front(), L"", MB_OK); 1034 1042 if (!CreateProcess(NULL, &buffer.front(), NULL, NULL, true, CREATE_NO_WINDOW, 1035 1043 NULL, NULL, &startupInfo, &processInfo))
Note: See TracChangeset
for help on using the changeset viewer.
