mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 07:37:03 +00:00
ClipboardHistory: Properly display bitmap depth
This commit is contained in:
parent
f22c0ffe0c
commit
d6c686e8bf
Notes:
sideshowbarker
2024-07-18 00:55:13 +09:00
Author: https://github.com/BenWiederhake
Commit: d6c686e8bf
Pull-request: https://github.com/SerenityOS/serenity/pull/10984
Reviewed-by: https://github.com/linusg
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ GUI::Variant ClipboardHistoryModel::data(const GUI::ModelIndex& index, GUI::Mode
|
|||
builder.append('x');
|
||||
builder.append(data_and_type.metadata.get("height").value_or("?"));
|
||||
builder.append('x');
|
||||
builder.append(bpp_for_format_resilient(data_and_type.metadata.get("height").value_or("0")));
|
||||
builder.append(bpp_for_format_resilient(data_and_type.metadata.get("format").value_or("0")));
|
||||
builder.append(" bitmap");
|
||||
builder.append("]");
|
||||
return builder.to_string();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue