mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
LibPDF: Fix checking minor_ver
instead of major_ver
This commit is contained in:
parent
b94931e7f6
commit
5d4d70355e
Notes:
sideshowbarker
2024-07-18 08:55:17 +09:00
Author: https://github.com/InusualZ 🔰 Commit: https://github.com/SerenityOS/serenity/commit/5d4d70355e1 Pull-request: https://github.com/SerenityOS/serenity/pull/8763 Reviewed-by: https://github.com/mattco98 ✅
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…
Reference in a new issue