Skip to content

Commit eefd9ec

Browse files
committed
Removed bit dependency.
1 parent a681128 commit eefd9ec

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Nodes/BaseNode.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,7 @@ protected int AddAddressOffset(ViewInfo view, int x, int y)
248248

249249
if (view.Settings.ShowNodeAddress)
250250
{
251-
#if WIN32
252-
x = AddText(view, x, y, view.Settings.AddressColor, HotSpot.AddressId, $"{view.Address.Add(Offset).ToInt32():X08}") + view.Font.Width;
253-
#else
254-
x = AddText(view, x, y, view.Settings.AddressColor, HotSpot.AddressId, $"{view.Address.Add(Offset).ToInt64():X016}") + view.Font.Width;
255-
#endif
251+
x = AddText(view, x, y, view.Settings.AddressColor, HotSpot.AddressId, view.Address.Add(Offset).ToString(Constants.StringHexFormat)) + view.Font.Width;
256252
}
257253

258254
return x;

0 commit comments

Comments
 (0)