diff options
Diffstat (limited to 'libqpdf/QPDF_json.cc')
-rw-r--r-- | libqpdf/QPDF_json.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libqpdf/QPDF_json.cc b/libqpdf/QPDF_json.cc index 9ecb1b31..f90096f5 100644 --- a/libqpdf/QPDF_json.cc +++ b/libqpdf/QPDF_json.cc @@ -802,7 +802,7 @@ QPDF::writeJSON( int version, Pipeline* p, bool complete, - bool first_key, + bool& first_key, qpdf_stream_decode_level_e decode_level, qpdf_json_stream_data_e json_stream_data, std::string const& file_prefix, @@ -892,4 +892,5 @@ QPDF::writeJSON( *p << "\n"; p->finish(); } + first_key = false; } |