1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Bug 403458 - Organize includes inserts commented extra statements for

includes that are actually used
This commit is contained in:
Sergey Prigogin 2013-03-18 16:00:19 -07:00
parent 2596db696f
commit 723d798813

View file

@ -239,7 +239,7 @@ public class IncludeOrganizer {
String name = new String(include.getName().getSimpleID());
IncludeInfo includeInfo = new IncludeInfo(name, include.isSystemInclude());
String path = include.getPath();
IPath header = path.isEmpty() ? null : Path.fromPortableString(path);
IPath header = path.isEmpty() ? null : Path.fromOSString(path);
IncludeGroupStyle style =
header != null ? getIncludeStyle(header) : getIncludeStyle(includeInfo);
IncludePrototype prototype = new IncludePrototype(include, header, includeInfo, style);