summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorThomas Freitag <Thomas.Freitag@alfa.de>2013-12-18 00:46:00 +0100
committerAlbert Astals Cid <aacid@kde.org>2013-12-18 00:46:00 +0100
commit85efba38c02b5daf7d3fc46bc85850e6842a085d (patch)
tree1933edbcf295308731414c7ae82f8c19e83e09f9 /utils
parenta766c55f68db38feed91cf003a0d5710e2f925a8 (diff)
Make pdfunite work even if there's a single file given
Bug #72720
Diffstat (limited to 'utils')
-rw-r--r--utils/pdfunite.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/pdfunite.cc b/utils/pdfunite.cc
index 59b6a8f1..6573f044 100644
--- a/utils/pdfunite.cc
+++ b/utils/pdfunite.cc
@@ -4,7 +4,7 @@
//
// This file is licensed under the GPLv2 or later
//
-// Copyright (C) 2011, 2012 Thomas Freitag <Thomas.Freitag@alfa.de>
+// Copyright (C) 2011-2013 Thomas Freitag <Thomas.Freitag@alfa.de>
// Copyright (C) 2012 Arseny Solokha <asolokha@gmx.com>
// Copyright (C) 2012 Fabio D'Urso <fabiodurso@hotmail.it>
// Copyright (C) 2012 Albert Astals Cid <aacid@kde.org>
@@ -60,7 +60,7 @@ int main (int argc, char *argv[])
exitCode = 99;
const GBool ok = parseArgs (argDesc, &argc, argv);
- if (!ok || argc <= 3 || printVersion || printHelp) {
+ if (!ok || argc < 3 || printVersion || printHelp) {
fprintf(stderr, "pdfunite version %s\n", PACKAGE_VERSION);
fprintf(stderr, "%s\n", popplerCopyright);
fprintf(stderr, "%s\n", xpdfCopyright);