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:
parent
e193a98b1f
commit
5ffd696f08
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ public class NewSourceFileCreationWizardPage extends AbstractFileCreationWizardP
|
||||||
IProject project = getCurrentProject();
|
IProject project = getCurrentProject();
|
||||||
if (project != null) {
|
if (project != null) {
|
||||||
String contentType = CProject.hasCCNature(project) ?
|
String contentType = CProject.hasCCNature(project) ?
|
||||||
CCorePlugin.CONTENT_TYPE_CXXHEADER : CCorePlugin.CONTENT_TYPE_CHEADER;
|
CCorePlugin.CONTENT_TYPE_CXXSOURCE : CCorePlugin.CONTENT_TYPE_CSOURCE;
|
||||||
Template[] templates =
|
Template[] templates =
|
||||||
StubUtility.getFileTemplatesForContentTypes(new String[] { contentType }, null);
|
StubUtility.getFileTemplatesForContentTypes(new String[] { contentType }, null);
|
||||||
if (templates.length != 0) {
|
if (templates.length != 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue