Skip to content

Commit c8d24bb

Browse files
committed
Made pointer comment selectable.
1 parent 3736cbb commit c8d24bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Nodes/BaseHexCommentNode.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ protected int AddComment(ViewInfo view, int x, int y, float fvalue, IntPtr ivalu
3636

3737
if (Program.Settings.ShowCommentPointer)
3838
{
39-
x = AddText(view, x, y, Program.Settings.OffsetColor, HotSpot.NoneId, $"-> {namedAddress}") + view.Font.Width;
39+
x = AddText(view, x, y, Program.Settings.OffsetColor, HotSpot.NoneId, "->") + view.Font.Width;
40+
x = AddText(view, x, y, Program.Settings.OffsetColor, HotSpot.ReadOnlyId, namedAddress) + view.Font.Width;
4041
}
4142

4243
if (Program.Settings.ShowCommentRtti)

0 commit comments

Comments
 (0)