mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +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: 5d4d70355e
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…
Add table
Add a link
Reference in a new issue