Merge branch 'upstream-kwsys' into update-kwsys

This commit is contained in:
Brad King 2013-06-04 09:08:58 -04:00
commit c91e88d0e1
1 changed files with 1 additions and 1 deletions

View File

@ -3085,7 +3085,7 @@ SystemToolsAppendComponents(
{
if(*i == "..")
{
if(out_components.begin() != out_components.end())
if(out_components.size() > 1)
{
out_components.erase(out_components.end()-1, out_components.end());
}