Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.tm.tcf.dsf')
-rw-r--r--plugins/org.eclipse.tm.tcf.dsf/src/org/eclipse/tm/internal/tcf/dsf/services/TCFDSFStack.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.tm.tcf.dsf/src/org/eclipse/tm/internal/tcf/dsf/services/TCFDSFStack.java b/plugins/org.eclipse.tm.tcf.dsf/src/org/eclipse/tm/internal/tcf/dsf/services/TCFDSFStack.java
index bd2e3ef45..c53702243 100644
--- a/plugins/org.eclipse.tm.tcf.dsf/src/org/eclipse/tm/internal/tcf/dsf/services/TCFDSFStack.java
+++ b/plugins/org.eclipse.tm.tcf.dsf/src/org/eclipse/tm/internal/tcf/dsf/services/TCFDSFStack.java
@@ -189,13 +189,13 @@ public class TCFDSFStack extends AbstractDsfService implements IStack {
}
public int getLine() {
- if (code_area == null) return -1;
- return code_area.start_line + 1;
+ if (code_area == null) return 0;
+ return code_area.start_line;
}
public int getColumn() {
- if (code_area == null) return -1;
- return code_area.start_column + 1;
+ if (code_area == null) return 0;
+ return code_area.start_column;
}
}

Back to the top