[poppler] utils/pdfunite.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Tue Dec 17 15:53:45 PST 2013


 utils/pdfunite.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 85efba38c02b5daf7d3fc46bc85850e6842a085d
Author: Thomas Freitag <Thomas.Freitag at alfa.de>
Date:   Wed Dec 18 00:46:00 2013 +0100

    Make pdfunite work even if there's a single file given
    
    Bug #72720

diff --git a/utils/pdfunite.cc b/utils/pdfunite.cc
index 59b6a8f..6573f04 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 at alfa.de>
+// Copyright (C) 2011-2013 Thomas Freitag <Thomas.Freitag at alfa.de>
 // Copyright (C) 2012 Arseny Solokha <asolokha at gmx.com>
 // Copyright (C) 2012 Fabio D'Urso <fabiodurso at hotmail.it>
 // Copyright (C) 2012 Albert Astals Cid <aacid at 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);


More information about the poppler mailing list