diff options
author | Přemysl Janouch <p@janouch.name> | 2018-10-02 23:17:46 +0200 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-10-02 23:17:46 +0200 |
commit | 54d86cf25bd1c6de28740940b697d448d75e8add (patch) | |
tree | 125c8d0f162338bde20432d5fbdf78c7bcea35cd /pdf-simple-sign.cpp | |
parent | 160f09ecc32f72c7c63227bb8a5036302d27bda0 (diff) | |
download | pdf-simple-sign-54d86cf25bd1c6de28740940b697d448d75e8add.tar.gz pdf-simple-sign-54d86cf25bd1c6de28740940b697d448d75e8add.tar.xz pdf-simple-sign-54d86cf25bd1c6de28740940b697d448d75e8add.zip |
Fix serialization of null values
Diffstat (limited to 'pdf-simple-sign.cpp')
-rw-r--r-- | pdf-simple-sign.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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: { |