mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:38:13 +00:00
LibPDF: Fix dumping of toplevel indirects
An indirect object starts `42 0 obj`, not `obj 42 0`.
This commit is contained in:
parent
6232ad3a0d
commit
164c132928
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ static PDFErrorOr<void> dump_tree(Document& document, size_t index, HashTable<in
|
|||
seen.set(index);
|
||||
|
||||
auto const& value = TRY(document.get_or_load_value(index));
|
||||
outln("obj {} 0", index);
|
||||
outln("{} 0 obj", index);
|
||||
outln("{}", value.to_deprecated_string(0));
|
||||
outln("endobj");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue