aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFExc.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2018-02-17 00:38:05 +0100
committerJay Berkenbilt <ejb@ql.org>2018-02-19 03:06:27 +0100
commitc2e16827b69f3d3ac3721cfcd608b87f28e2a13f (patch)
tree05231cc737712c9da8c07c2dfee7e3e66384200a /libqpdf/QPDFExc.cc
parent52e024f70198e18c96f613a789baa79622e8f1ea (diff)
downloadqpdf-c2e16827b69f3d3ac3721cfcd608b87f28e2a13f.tar.zst
Replace "file position" with "offset" in error messages
Sometimes it's an offset in an object stream or a content stream, so file position is confusing in some cases.
Diffstat (limited to 'libqpdf/QPDFExc.cc')
-rw-r--r--libqpdf/QPDFExc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDFExc.cc b/libqpdf/QPDFExc.cc
index 8bbfb0b4..728d4ce8 100644
--- a/libqpdf/QPDFExc.cc
+++ b/libqpdf/QPDFExc.cc
@@ -43,7 +43,7 @@ QPDFExc::createWhat(std::string const& filename,
}
if (offset > 0)
{
- result += "file position " + QUtil::int_to_string(offset);
+ result += "offset " + QUtil::int_to_string(offset);
}
result += ")";
}