mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Patch for Chris W.
This commit is contained in:
parent
25b6b978f3
commit
604bb67163
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-06-06 Chris Wiebe
|
||||||
|
This patch fixes a problem when using the class wizard, where the system
|
||||||
|
include separator '<' was used for project-relative include path instead
|
||||||
|
of '"'.
|
||||||
|
|
||||||
2004-06-28 Alain Magloire
|
2004-06-28 Alain Magloire
|
||||||
|
|
||||||
Fix for PR 68820.
|
Fix for PR 68820.
|
||||||
|
|
|
@ -908,6 +908,7 @@ public class NewClassWizardPage extends WizardPage implements Listener {
|
||||||
IPath projectPath = fSelectedProject.getFullPath();
|
IPath projectPath = fSelectedProject.getFullPath();
|
||||||
IPath relativePath = location.getRelativeIncludePath(fSelectedProject);
|
IPath relativePath = location.getRelativeIncludePath(fSelectedProject);
|
||||||
if (!relativePath.equals(location.getLocation())) {
|
if (!relativePath.equals(location.getLocation())) {
|
||||||
|
if (!projectPath.isPrefixOf(location.getPath()))
|
||||||
systemIncludePath = true;
|
systemIncludePath = true;
|
||||||
} else {
|
} else {
|
||||||
if (projectPath.isPrefixOf(location.getPath()) && projectPath.isPrefixOf(header.getPath()))
|
if (projectPath.isPrefixOf(location.getPath()) && projectPath.isPrefixOf(header.getPath()))
|
||||||
|
|
Loading…
Add table
Reference in a new issue