aboutsummaryrefslogtreecommitdiffstats
path: root/qpdf
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2019-06-22 00:38:03 +0200
committerJay Berkenbilt <ejb@ql.org>2019-06-22 04:29:31 +0200
commitc6cfd6450334cc09d3a984d710e3fcc26b809f0f (patch)
tree8a2226e216577b87aebd03f8901e911a558ec49a /qpdf
parentbd8918fffc73803698f02021543a14445ba17e0b (diff)
downloadqpdf-c6cfd6450334cc09d3a984d710e3fcc26b809f0f.tar.zst
Rename QUtil::strcasecmp to QUtil::str_compare_nocase (fixes #242)
Diffstat (limited to 'qpdf')
-rw-r--r--qpdf/qpdf.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpdf/qpdf.cc b/qpdf/qpdf.cc
index 4200903b..cbda36a1 100644
--- a/qpdf/qpdf.cc
+++ b/qpdf/qpdf.cc
@@ -4981,7 +4981,8 @@ static void write_outfile(QPDF& pdf, Options& o)
after = num_spot + 2;
}
else if ((len >= 4) &&
- (QUtil::strcasecmp(o.outfilename + len - 4, ".pdf") == 0))
+ (QUtil::str_compare_nocase(
+ o.outfilename + len - 4, ".pdf") == 0))
{
QTC::TC("qpdf", "qpdf split-pages .pdf");
before = std::string(o.outfilename, len - 4) + "-";