mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
LibGfx/ISOBMFF: Print only one set of quotes around FourCCs
AK::Formatter<RIFF::ChunkID> (in LibRIFF/ChunkID.h) adds them already, so don't add them here too.
This commit is contained in:
parent
e2bab93fdd
commit
b43092db46
Notes:
sideshowbarker
2024-07-17 03:18:29 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/b43092db46 Pull-request: https://github.com/SerenityOS/serenity/pull/23678 Reviewed-by: https://github.com/kleinesfilmroellchen ✅
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ template<>
|
|||
struct AK::Formatter<Gfx::ISOBMFF::BoxType> : Formatter<FormatString> {
|
||||
ErrorOr<void> format(FormatBuilder& builder, Gfx::ISOBMFF::BoxType const& box_type)
|
||||
{
|
||||
StringView format_string = Gfx::ISOBMFF::is_valid_box_type(box_type) ? "('{}')"sv : "Unknown Box ('{}')"sv;
|
||||
StringView format_string = Gfx::ISOBMFF::is_valid_box_type(box_type) ? "({})"sv : "Unknown Box ({})"sv;
|
||||
return Formatter<FormatString>::format(builder, format_string, RIFF::ChunkID::from_big_endian_number(to_underlying(box_type)));
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue