From 54d86cf25bd1c6de28740940b697d448d75e8add Mon Sep 17 00:00:00 2001 From: Přemysl Janouch
Date: Tue, 2 Oct 2018 23:17:46 +0200 Subject: Fix serialization of null values --- pdf-simple-sign.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf-simple-sign.cpp b/pdf-simple-sign.cpp index 9366daa..1755dc9 100644 --- a/pdf-simple-sign.cpp +++ b/pdf-simple-sign.cpp @@ -256,7 +256,7 @@ struct pdf_lexer { static std::string pdf_serialize(const pdf_object& o) { switch (o.type) { case pdf_object::NL: return "\n"; - case pdf_object::NIL: return "nil"; + case pdf_object::NIL: return "null"; case pdf_object::BOOL: return o.number ? "true" : "false"; case pdf_object::NUMERIC: { -- cgit v1.2.3-70-g09d2