mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:47:36 +00:00
LibPDF: Fix off-by-one error in Reader::remaining()
This commit is contained in:
parent
4b1a72ff7a
commit
4bd79338e8
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ public:
|
|||
return 0;
|
||||
|
||||
if (m_forwards)
|
||||
return bytes().size() - offset() - 1;
|
||||
return bytes().size() - offset();
|
||||
return offset() + 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue