Bug fix for assembly tool tip check going off end of string.
This commit is contained in:
parent
b601d36641
commit
d212e1aae1
|
@ -4452,7 +4452,8 @@ bool QAsmView::event(QEvent *event)
|
|||
}
|
||||
}
|
||||
|
||||
if ( (c.x() > operandLinePos) && opcodeValid )
|
||||
if ( opcodeValid && (c.x() > operandLinePos) &&
|
||||
(c.x() < asmEntry[line]->text.size()) )
|
||||
{
|
||||
i = c.x();
|
||||
|
||||
|
|
Loading…
Reference in New Issue