Commit d44bba3914ea7fce20b583e5ff77bc2d25c21c7f
Committed by
Jay Berkenbilt
1 parent
236a02d4
Fix typos in error message
Showing
1 changed file
with
4 additions
and
4 deletions
libqpdf/QPDF_Stream.cc
| ... | ... | @@ -213,14 +213,14 @@ QPDF_Stream::getStreamJSON( |
| 213 | 213 | case qpdf_sj_none: |
| 214 | 214 | case qpdf_sj_inline: |
| 215 | 215 | if (p != nullptr) { |
| 216 | - throw std::logic_error("QPDF_Stream::getStreamJSON: pipline should " | |
| 217 | - "only be suppiled json_data is file"); | |
| 216 | + throw std::logic_error("QPDF_Stream::getStreamJSON: pipeline should " | |
| 217 | + "only be supplied when json_data is file"); | |
| 218 | 218 | } |
| 219 | 219 | break; |
| 220 | 220 | case qpdf_sj_file: |
| 221 | 221 | if (p == nullptr) { |
| 222 | - throw std::logic_error("QPDF_Stream::getStreamJSON: pipline must " | |
| 223 | - "be be suppiled json_data is file"); | |
| 222 | + throw std::logic_error("QPDF_Stream::getStreamJSON: pipeline must " | |
| 223 | + "be supplied when json_data is file"); | |
| 224 | 224 | } |
| 225 | 225 | if (data_filename.empty()) { |
| 226 | 226 | throw std::logic_error("QPDF_Stream::getStreamJSON: data_filename " | ... | ... |