1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fixed include guard adjustment when renaming a project.

This commit is contained in:
Sergey Prigogin 2015-01-06 15:40:33 -08:00
parent 4efe6e815e
commit 39c8cf14fd

View file

@ -679,6 +679,8 @@ public class StubUtility {
ISourceRoot root = cproject.findSourceRoot(file);
if (root != null) {
path = PathUtil.makeRelativePath(path, root.getPath());
} else {
path = PathUtil.makeRelativePath(path, cproject.getPath());
}
return generateIncludeGuardSymbolFromFilePath(path.toString());