summaryrefslogtreecommitdiff
path: root/src/KM_fileio.cpp
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2009-07-10 18:14:01 +0000
committerjhurst <>2009-07-10 18:14:01 +0000
commite414c3671619d27816c1961339b02f7352c70711 (patch)
treeb3b894aa056f9e7f2f643d18b95cfdd735384c88 /src/KM_fileio.cpp
parent663f72dc0b7ac276297ddc696240a4c1a4c80f31 (diff)
eliminated spurious estra leading '/'
Diffstat (limited to 'src/KM_fileio.cpp')
-rw-r--r--src/KM_fileio.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/KM_fileio.cpp b/src/KM_fileio.cpp
index 95bee9b..fba8578 100644
--- a/src/KM_fileio.cpp
+++ b/src/KM_fileio.cpp
@@ -350,7 +350,7 @@ Kumu::PathMakeAbsolute(const std::string& Path, char separator)
}
PathCompList_t CList;
- CList.push_back(cwd_buf);
+ PathToComponents(cwd_buf, CList);
CList.push_back(Path);
return ComponentsToAbsolutePath(s_PathMakeCanonical(CList, true), separator);
@@ -1400,7 +1400,6 @@ Result_t
Kumu::CreateDirectoriesInPath(const std::string& Path)
{
bool abs = PathIsAbsolute(Path);
- assert(abs);
PathCompList_t PathComps, TmpPathComps;
PathToComponents(Path, PathComps);