1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 10:16:03 +02:00

small update to the previous fix

This commit is contained in:
Mikhail Sennikovsky 2007-03-23 15:45:32 +00:00
parent 5d85dce38e
commit dffde1e9e5

View file

@ -463,7 +463,7 @@ public class NewSourceFolderWizardPage extends NewElementWizardPage {
private ICSourceEntry[] addEntry(ICSourceEntry[] entries, ICSourceEntry entry, boolean removeProj){
Set set = new HashSet();
for(int i = 0; i < entries.length; i++){
if(removeProj && new Path(entries[i].getValue()).segmentCount() == 0)
if(removeProj && new Path(entries[i].getValue()).segmentCount() == 1)
continue;
set.add(entries[i]);