From 86647ac081be1de9b45fe7d219d12a6c74afb7e0 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Sun, 9 May 2010 00:32:27 +0000 Subject: [PATCH] Include guard generation option based on file path relative to the source folder. Bug 235586. --- .../cdt/internal/corext/codemanipulation/StubUtility.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/corext/codemanipulation/StubUtility.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/corext/codemanipulation/StubUtility.java index c5091486d38..063dfa711a4 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/corext/codemanipulation/StubUtility.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/corext/codemanipulation/StubUtility.java @@ -309,7 +309,7 @@ public class StubUtility { if (position.getLength() > 0) { int[] offsets= position.getOffsets(); for (int j= 0; j < offsets.length; j++) { - final int offset = offsets[j] ; + final int offset = offsets[j]; try { int startLine= doc.getLineOfOffset(offset); int startOffset= doc.getLineOffset(startLine);