[poppler] poppler/PDFDoc.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Thu Dec 27 14:40:23 PST 2012


 poppler/PDFDoc.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 858df0dc04e2f306e806fe0fc4fb5c8ec804e263
Author: Albert Astals Cid <aacid at kde.org>
Date:   Thu Dec 27 23:30:27 2012 +0100

    Fix arg typo

diff --git a/poppler/PDFDoc.cc b/poppler/PDFDoc.cc
index b0678e8..5c3535d 100644
--- a/poppler/PDFDoc.cc
+++ b/poppler/PDFDoc.cc
@@ -153,7 +153,7 @@ PDFDoc::PDFDoc(GooString *fileNameA, GooString *ownerPassword,
     // Keep a copy of the errno returned by fopen so that it can be 
     // referred to later.
     fopenErrno = errno;
-    error(errIO, -1, "Couldn't open file '{0:t}': {0:s}.", fileName, strerror(errno));
+    error(errIO, -1, "Couldn't open file '{0:t}': {1:s}.", fileName, strerror(errno));
     errCode = errOpenFile;
     return;
   }


More information about the poppler mailing list