1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix for 230984: Sourcefolder duped in std makefile projects

This commit is contained in:
Anton Leherbauer 2008-05-08 12:35:34 +00:00
parent 8d6cd53eb4
commit 3b147b1e56

View file

@ -266,7 +266,7 @@ public class CContainer extends Openable implements ICContainer {
break;
}
case IResource.FOLDER:
if (sroot != null && sroot.isOnSourceEntry(res) || cproject.isOnOutputEntry(res)) {
if (sroot != null && sroot.isOnSourceEntry(res) || (sroot == null && cproject.isOnOutputEntry(res))) {
celement = new CContainer(this, res);
}
break;