LibPDF: Fix checking minor_ver instead of major_ver

This commit is contained in:
Wesley Moret 2021-07-14 20:00:42 -04:00 committed by Andreas Kling
parent b94931e7f6
commit 5d4d70355e
Notes: sideshowbarker 2024-07-18 08:55:17 +09:00

View file

@ -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();