diff --git a/Userland/Libraries/LibGfx/Font/OpenType/Tables.cpp b/Userland/Libraries/LibGfx/Font/OpenType/Tables.cpp index 184590851d..5e5a0a0acb 100644 --- a/Userland/Libraries/LibGfx/Font/OpenType/Tables.cpp +++ b/Userland/Libraries/LibGfx/Font/OpenType/Tables.cpp @@ -526,7 +526,7 @@ ErrorOr GPOS::from_slice(ReadonlyBytes slice) TRY(stream.seek(header.lookup_list_offset, SeekMode::SetPosition)); auto const& lookup_list = *TRY(stream.read_in_place()); - auto lookup_records = TRY(stream.read_in_place(lookup_list.lookup_count)); + auto lookup_records = TRY(stream.read_in_place(lookup_list.lookup_count)); return GPOS { slice, header, script_list, script_records, feature_list, feature_records, lookup_list, lookup_records }; }