summaryrefslogtreecommitdiffstats
path: root/src/libgui/breakpoint_view.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:18:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:18:34 +0900
commit753b5724e1fdbfb87852395722717a9c1643baa3 (patch)
tree880851e9a79a9e990e318adf0fe78cea203fb44f /src/libgui/breakpoint_view.cpp
parente556daea65624b0fa363f8d305fd1c4996f3ee5e (diff)
downloadpiklab-753b5724e1fdbfb87852395722717a9c1643baa3.tar.gz
piklab-753b5724e1fdbfb87852395722717a9c1643baa3.zip
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/libgui/breakpoint_view.cpp')
-rw-r--r--src/libgui/breakpoint_view.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libgui/breakpoint_view.cpp b/src/libgui/breakpoint_view.cpp
index 5375cf4..a8454ea 100644
--- a/src/libgui/breakpoint_view.cpp
+++ b/src/libgui/breakpoint_view.cpp
@@ -71,13 +71,13 @@ void Breakpoint::View::itemClicked(TQListViewItem *item)
if ( item==0 ) return;
const Data &data = static_cast<ListViewItem *>(item)->data();
Address address = Breakpoint::list().address(data);
- TextEditor *editor = ::tqqt_cast<TextEditor *>(Main::currentEditor());
+ TextEditor *editor = ::tqt_cast<TextEditor *>(Main::currentEditor());
const Coff::TextObject *coff = Debugger::manager->coff();
int line = -1;
if ( coff && editor && editor->fileType()==PURL::Coff && address.isValid() )
line = coff->lineForAddress(editor->url(), address);
if ( line==-1 ) {
- editor = ::tqqt_cast<TextEditor *>(Main::editorManager().openEditor(data.url));
+ editor = ::tqt_cast<TextEditor *>(Main::editorManager().openEditor(data.url));
line = data.line;
}
if ( editor==0 ) return;