mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
insert proper newline for OS.
This commit is contained in:
parent
3b41669fc2
commit
2f0d70899e
1 changed files with 2 additions and 2 deletions
|
@ -96,9 +96,9 @@ public class AddIncludesOperation implements IWorkspaceRunnable {
|
|||
for(int j = 0; j < toAdd.size(); j++) {
|
||||
IRequiredInclude req = (IRequiredInclude)toAdd.get(j);
|
||||
if (req.isStandard()) {
|
||||
insert.append("#include <" + req.getIncludeName() + ">\n"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
insert.append("#include <" + req.getIncludeName() + ">").append(newLine); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
} else {
|
||||
insert.append("#include \"" + req.getIncludeName() + "\"\n"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
insert.append("#include \"" + req.getIncludeName() + "\"").append(newLine); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue