mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:57:45 +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;
|
break;
|
||||||
|
|
||||||
if (m_reader.matches('#')) {
|
if (m_reader.matches('#')) {
|
||||||
|
m_reader.consume();
|
||||||
int hex_value = 0;
|
int hex_value = 0;
|
||||||
for (int i = 0; i < 2; i++) {
|
for (int i = 0; i < 2; i++) {
|
||||||
auto ch = m_reader.consume();
|
auto ch = m_reader.consume();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue