- Timestamp:
- Apr 11, 2018 4:23:23 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
r71819 r71827 1130 1130 && !strSrcDir.endsWith("\\")) 1131 1131 { 1132 if ( !strDstDir.endsWith("/")1133 && !strDstDir.endsWith("\\"))1134 strDstDir += "/";1135 1136 strDstDir += Utf8StrFmt("%s", RTPathFilename(strSrcDir.c_str()));1132 if ( strDstDir.endsWith("/") 1133 || strDstDir.endsWith("\\")) 1134 { 1135 strDstDir += Utf8StrFmt("%s", RTPathFilename(strSrcDir.c_str())); 1136 } 1137 1137 } 1138 1138 … … 1353 1353 && !strSrcDir.endsWith("\\")) 1354 1354 { 1355 if ( !strDstDir.endsWith("/")1356 && !strDstDir.endsWith("\\"))1357 strDstDir += "/";1358 1359 strDstDir += Utf8StrFmt("%s", RTPathFilename(strSrcDir.c_str()));1355 if ( strDstDir.endsWith("/") 1356 || strDstDir.endsWith("\\")) 1357 { 1358 strDstDir += Utf8StrFmt("%s", RTPathFilename(strSrcDir.c_str())); 1359 } 1360 1360 } 1361 1361
Note:
See TracChangeset
for help on using the changeset viewer.