summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-11-20 15:57:08 +0100
committerLinus Groh <mail@linusgroh.de>2021-11-21 11:49:06 +0000
commitd6c686e8bf7199a446a992aa972cb0db448ed9a8 (patch)
treef23ba334b302917486ee4c9dbb14acbf347d64db /Userland
parentf22c0ffe0c5318e87a68142add4bd981baf5b13d (diff)
downloadserenity-d6c686e8bf7199a446a992aa972cb0db448ed9a8.zip
ClipboardHistory: Properly display bitmap depth
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp b/Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp
index 1fed645cc5..b4c9c53318 100644
--- a/Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp
+++ b/Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp
@@ -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();