mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 13:19:21 +02:00
Asm-Dialog: fix for 3.2.2 / Issue #39645
This commit is contained in:
parent
deea0b1e74
commit
4ef4408529
@ -704,9 +704,14 @@ end;
|
||||
procedure TAssemblerDlg.popCopyAddrClick(Sender: TObject);
|
||||
var
|
||||
Entry: TAsmDlgLineEntry;
|
||||
W: Integer;
|
||||
begin
|
||||
if FDebugger = nil
|
||||
then W := 16
|
||||
else W := FDebugger.TargetWidth div 4;
|
||||
|
||||
if GetLinMapEntryForLine(FSelectLine, Entry) then
|
||||
Clipboard.AsText := '$'+IntToHex(Entry.Addr);
|
||||
Clipboard.AsText := '$'+IntToHex(Entry.Addr, W);
|
||||
end;
|
||||
|
||||
function TAssemblerDlg.FormatLine(ALine: TAsmDlgLineEntry; W: Integer) : String;
|
||||
|
Loading…
Reference in New Issue
Block a user