mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:08:10 +00:00
SystemMonitor: Show VM region addresses as zero-padded hex ({:p})
0x1000000 and 0x10000000 looked way too similar without a leading zero.
This commit is contained in:
parent
3c7f5392a9
commit
0682a35148
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ ProcessMemoryMapWidget::ProcessMemoryMapWidget()
|
|||
Vector<GUI::JsonArrayModel::FieldSpec> pid_vm_fields;
|
||||
pid_vm_fields.empend(
|
||||
"Address", Gfx::TextAlignment::CenterLeft,
|
||||
[](auto& object) { return String::formatted("{:#x}", object.get("address").to_u32()); },
|
||||
[](auto& object) { return String::formatted("{:p}", object.get("address").to_u32()); },
|
||||
[](auto& object) { return object.get("address").to_u32(); });
|
||||
pid_vm_fields.empend("size", "Size", Gfx::TextAlignment::CenterRight);
|
||||
pid_vm_fields.empend("amount_resident", "Resident", Gfx::TextAlignment::CenterRight);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue