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

Fix for [Bug 193007] NPE at Makefile Project preference page on the Mac

This commit is contained in:
Mikhail Sennikovsky 2007-06-18 11:48:44 +00:00
parent 0975958fca
commit eecd9b3834

View file

@ -409,7 +409,8 @@ public class ConfigurationDataProvider extends CConfigurationDataProvider implem
String langId = type.getLanguageId(tool); String langId = type.getLanguageId(tool);
if(langId != null){ if(langId != null){
ILanguageDescriptor des = (ILanguageDescriptor)langMap.remove(langId); ILanguageDescriptor des = (ILanguageDescriptor)langMap.remove(langId);
adjustInputType(tool, type, des); if(des != null)
adjustInputType(tool, type, des);
continue; continue;
} else { } else {
IContentType[] cTypes = type.getSourceContentTypes(); IContentType[] cTypes = type.getSourceContentTypes();