Skip to content

Commit

Permalink
Second rework.
Browse files Browse the repository at this point in the history
Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
  • Loading branch information
AttilaVamos committed Apr 22, 2016
1 parent a246743 commit 17bb45a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions common/environment/environment.cpp
Expand Up @@ -1579,9 +1579,7 @@ IConstDropZoneInfo * CLocalEnvironment::getDropZoneByAddressPath(const char * ne
SCMStringBuffer dropZoneDir;
zoneIt->query().getDirectory(dropZoneDir);
StringBuffer fullDropZoneDir(dropZoneDir.str());
const char pathSeparator = fullDropZoneDir.charAt(0);
if (fullDropZoneDir.charAt(fullDropZoneDir.length()) != pathSeparator)
fullDropZoneDir.append(pathSeparator);
addPathSepChar(fullDropZoneDir);
const char * pdropzoneDir = fullDropZoneDir.str();

// Check target file path starts with this Drop zone path
Expand Down

0 comments on commit 17bb45a

Please sign in to comment.