mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:07:34 +00:00
LibPDF: In Type0::initialize(), move variable increment next to cause
No behavior change.
This commit is contained in:
parent
fc9b2440bd
commit
ef5d7b685d
1 changed files with 2 additions and 2 deletions
|
@ -293,10 +293,10 @@ PDFErrorOr<void> Type0Font::initialize(Document* document, NonnullRefPtr<DictObj
|
|||
auto first_code = pending_code.release_value();
|
||||
auto last_code = value.to_int();
|
||||
auto width = widths_array->at(i + 1).to_int();
|
||||
i++;
|
||||
|
||||
for (u16 code = first_code; code <= last_code; code++)
|
||||
widths.set(code, width);
|
||||
|
||||
i++;
|
||||
} else {
|
||||
auto array = TRY(document->resolve_to<ArrayObject>(value));
|
||||
auto code = pending_code.release_value();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue