mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:47:34 +00:00
LibPDF: Parse hexadecimal values in name objects correctly
This commit is contained in:
parent
0308300b78
commit
becd648a78
1 changed files with 1 additions and 0 deletions
|
@ -214,6 +214,7 @@ PDFErrorOr<NonnullRefPtr<NameObject>> Parser::parse_name()
|
|||
break;
|
||||
|
||||
if (m_reader.matches('#')) {
|
||||
m_reader.consume();
|
||||
int hex_value = 0;
|
||||
for (int i = 0; i < 2; i++) {
|
||||
auto ch = m_reader.consume();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue