X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=inline;f=source%2Fanalyzer.cpp;h=a86a9a219125d3458a22d349bfead7ed2aedc5e5;hb=f5d3127099bc41f986094eb98732849ee9bfb748;hp=0db55c76b637942ba997bff9b2ee90d05237e58b;hpb=7aeaa4ba965f596edad438c02e345a8843f7469a;p=builder.git diff --git a/source/analyzer.cpp b/source/analyzer.cpp index 0db55c7..a86a9a2 100644 --- a/source/analyzer.cpp +++ b/source/analyzer.cpp @@ -8,7 +8,7 @@ Distributed under the LGPL #include #include #include -#include +#include #include "analyzer.h" #include "builder.h" #include "install.h" @@ -70,7 +70,7 @@ void Analyzer::build_depend_table(Target &tgt, unsigned depth) if(full_paths) fn=tgt.get_name(); else - fn=Path::Path(tgt.get_name())[-1]; + fn=FS::basename(tgt.get_name()); row.push_back(string(depth*2, ' ')+fn); const Package *pkg=tgt.get_package();