mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
LibPDF: Fix checking minor_ver
instead of major_ver
This commit is contained in:
parent
b94931e7f6
commit
5d4d70355e
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ bool Parser::parse_header()
|
|||
return false;
|
||||
|
||||
char minor_ver = m_reader.read();
|
||||
if (minor_ver < '0' || major_ver > '7')
|
||||
if (minor_ver < '0' || minor_ver > '7')
|
||||
return false;
|
||||
consume_eol();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue