2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-01-03 15:17:29 +00:00
git-svn-id: svn+q:///qpdf/trunk@985 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
Jay Berkenbilt 2010-08-02 16:26:08 +00:00
parent 00ed5af502
commit cd1e46616a

View File

@ -118,7 +118,7 @@ QPDFWriter::setMinimumPDFVersion(std::string const& version)
int min_minor = 0; int min_minor = 0;
parseVersion(version, old_major, old_minor); parseVersion(version, old_major, old_minor);
parseVersion(this->min_pdf_version, min_major, min_minor); parseVersion(this->min_pdf_version, min_major, min_minor);
if (compareVersions(old_minor, old_minor, min_minor, min_minor) > 0) if (compareVersions(old_major, old_minor, min_major, min_minor) > 0)
{ {
QTC::TC("qpdf", "QPDFWriter increasing minimum version"); QTC::TC("qpdf", "QPDFWriter increasing minimum version");
set_version = true; set_version = true;