1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 16:56:04 +02:00

fix for bug#106064

patch from  Anton Leherbauer
This commit is contained in:
David Inglis 2006-04-26 13:24:00 +00:00
parent bdebf10e1a
commit d4ee99391a

View file

@ -62,7 +62,10 @@ public class MakefileDocumentProvider extends TextFileDocumentProvider implement
/**
*/
private IMakefile createMakefile(IFile file) {
return MakeCorePlugin.getDefault().createMakefile(file);
if (file.exists()) {
return MakeCorePlugin.getDefault().createMakefile(file);
}
return null;
}
/* (non-Javadoc)