summaryrefslogtreecommitdiffstats
path: root/Source/cmFileInstaller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmFileInstaller.cxx')
-rw-r--r--Source/cmFileInstaller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileInstaller.cxx b/Source/cmFileInstaller.cxx
index f3544c1..d4f76fd 100644
--- a/Source/cmFileInstaller.cxx
+++ b/Source/cmFileInstaller.cxx
@@ -319,7 +319,7 @@ bool cmFileInstaller::HandleInstallDestination()
return false;
}
}
- destination = sdestdir + (destination.c_str() + skip);
+ destination = sdestdir + destination.substr(skip);
this->DestDirLength = int(sdestdir.size());
}