diff --git a/src/drivers/Qt/ConsoleDebugger.cpp b/src/drivers/Qt/ConsoleDebugger.cpp index fbb266c5..4f5b7f02 100644 --- a/src/drivers/Qt/ConsoleDebugger.cpp +++ b/src/drivers/Qt/ConsoleDebugger.cpp @@ -3104,11 +3104,13 @@ QAsmView::QAsmView(QWidget *parent) maxLineOffset = 0; ctxMenuAddr = -1; - mouseLeftBtnDown = false; - txtHlgtStartChar = -1; - txtHlgtStartLine = -1; - txtHlgtEndChar = -1; - txtHlgtEndLine = -1; + mouseLeftBtnDown = false; + txtHlgtAnchorLine = -1; + txtHlgtAnchorChar = -1; + txtHlgtStartChar = -1; + txtHlgtStartLine = -1; + txtHlgtEndChar = -1; + txtHlgtEndLine = -1; pcLinePlacement = 0; pcLineOffset = 0; diff --git a/src/drivers/Qt/MsgLogViewer.cpp b/src/drivers/Qt/MsgLogViewer.cpp index 3d29209a..dc2addad 100644 --- a/src/drivers/Qt/MsgLogViewer.cpp +++ b/src/drivers/Qt/MsgLogViewer.cpp @@ -38,6 +38,11 @@ class msgLogBuf_t maxLines = MSG_LOG_MAX_LINES; totalLines = 0; head = tail = 0; + + for (int i=0; i