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
|
||||
|
||||
Fix for PR 68820.
|
||||
|
|
|
@ -908,7 +908,8 @@ public class NewClassWizardPage extends WizardPage implements Listener {
|
|||
IPath projectPath = fSelectedProject.getFullPath();
|
||||
IPath relativePath = location.getRelativeIncludePath(fSelectedProject);
|
||||
if (!relativePath.equals(location.getLocation())) {
|
||||
systemIncludePath = true;
|
||||
if (!projectPath.isPrefixOf(location.getPath()))
|
||||
systemIncludePath = true;
|
||||
} else {
|
||||
if (projectPath.isPrefixOf(location.getPath()) && projectPath.isPrefixOf(header.getPath()))
|
||||
relativePath = location.getRelativePath(header.getPath());
|
||||
|
|
Loading…
Add table
Reference in a new issue