fix cases where decorative disasm lines were being confused with non-decorative

This commit is contained in:
Ryan Fleury committed 2024-06-13 15:18:29 -07:00
1 parent 6e9b2bd107
commit 2419a00b11
4 files changed
+30 -13

No files matched your search

+2 -1
View File
@@ -12034,7 +12034,8 @@ df_code_slice(DF_Window *ws, DF_CtrlCtx *ctrl_ctx, EVAL_ParseCtx *parse_ctx, DF_
{
for(DF_TextLineDasm2SrcInfoNode *n = dasm2src_list->first; n != 0; n = n->next)
{
if(n->v.voff_range.min <= hovered_line_voff && hovered_line_voff < n->v.voff_range.max)
if(n->v.voff_range.min <= hovered_line_voff &&
hovered_line_voff < n->v.voff_range.max)
{
line_info_line_num = n->v.pt.line;
matches = 1;