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:
parent
0975958fca
commit
eecd9b3834
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Reference in a new issue