Fix parsing of hex strings
This commit is contained in:
		
							parent
							
								
									54d86cf25b
								
							
						
					
					
						commit
						c77a9c052a
					
				| @ -161,6 +161,7 @@ struct pdf_lexer { | ||||
|         buf.clear(); | ||||
|       } | ||||
|     } | ||||
|     p++; | ||||
|     if (!buf.empty()) value += char(std::stoi(buf + '0', nullptr, 16)); | ||||
|     return {pdf_object::STRING, value}; | ||||
|   } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user