Mercurial > hg > octave-terminal
changeset 14832:9c07dde77266 gui
Fixed offset when setting breakpoints.
* file-editor-tab.cc: Adding + 1 to fix offset when adding breakpoints.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Mon, 02 Jul 2012 18:33:34 +0200 |
parents | cff522bf80c5 |
children | 422b0b2ce5f8 |
files | gui/src/m-editor/file-editor-tab.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/src/m-editor/file-editor-tab.cc +++ b/gui/src/m-editor/file-editor-tab.cc @@ -215,7 +215,7 @@ (new octave_add_breakpoint_event (*this, path.toStdString (), function_name.toStdString (), - line)); + line + 1)); } void @@ -232,7 +232,7 @@ (new octave_remove_breakpoint_event (*this, path.toStdString (), function_name.toStdString (), - line)); + line + 1)); } void