1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Fixed a typo.

This commit is contained in:
Sergey Prigogin 2009-05-07 14:56:54 +00:00
parent e193a98b1f
commit 5ffd696f08

View file

@ -198,7 +198,7 @@ public class NewSourceFileCreationWizardPage extends AbstractFileCreationWizardP
IProject project = getCurrentProject();
if (project != null) {
String contentType = CProject.hasCCNature(project) ?
CCorePlugin.CONTENT_TYPE_CXXHEADER : CCorePlugin.CONTENT_TYPE_CHEADER;
CCorePlugin.CONTENT_TYPE_CXXSOURCE : CCorePlugin.CONTENT_TYPE_CSOURCE;
Template[] templates =
StubUtility.getFileTemplatesForContentTypes(new String[] { contentType }, null);
if (templates.length != 0) {