Fixed slash / backslash mess causing loss of 'accept' flags transitive propagation through packages

git-svn-id: svn://ultimatepp.org/upp/trunk@1537 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
rylek 2009-08-25 20:10:52 +00:00
parent 944a02142f
commit b59ec1649d

View file

@ -441,7 +441,7 @@ Vector<String> Workspace::GetAllAccepts(int pk) const
const Package& p = package[pkg[i]];
FindAppend(accepts, p.accepts);
for(int u = 0; u < p.uses.GetCount(); u++) {
int f = package.Find(p.uses[u].text);
int f = package.Find(UnixPath(p.uses[u].text));
if(f >= 0)
pkg.FindAdd(f);
}