mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 19:05:07 +00:00
HackStudio: Use new format functions.
This commit is contained in:
parent
3b601cd4bd
commit
7c4fb2b804
23 changed files with 112 additions and 117 deletions
|
@ -107,7 +107,7 @@ GUI::Variant RegistersModel::data(const GUI::ModelIndex& index, GUI::ModelRole r
|
|||
if (index.column() == Column::Register)
|
||||
return reg.name;
|
||||
if (index.column() == Column::Value)
|
||||
return String::format("%#08x", reg.value);
|
||||
return String::formatted("{:08x}", reg.value);
|
||||
return {};
|
||||
}
|
||||
return {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue