]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/pdftotext.cc
add prototype.
[evince.git] / pdf / xpdf / pdftotext.cc
index c6ad9c03383d89c168acba91203aed89cf460bf9..cb8c8961a494ecefa5f02340a62b2d69e907e8f0 100644 (file)
@@ -27,7 +27,7 @@
 #include "CharTypes.h"
 #include "UnicodeMap.h"
 #include "Error.h"
 #include "CharTypes.h"
 #include "UnicodeMap.h"
 #include "Error.h"
-#include "config.h"
+#include "xpdfconfig.h"
 
 static void printInfoString(FILE *f, Dict *infoDict, char *key,
                            char *text1, char *text2, UnicodeMap *uMap);
 
 static void printInfoString(FILE *f, Dict *infoDict, char *key,
                            char *text1, char *text2, UnicodeMap *uMap);
@@ -234,7 +234,7 @@ int main(int argc, char *argv[]) {
   textOut = new TextOutputDev(textFileName->getCString(),
                              physLayout, rawOrder, htmlMeta);
   if (textOut->isOk()) {
   textOut = new TextOutputDev(textFileName->getCString(),
                              physLayout, rawOrder, htmlMeta);
   if (textOut->isOk()) {
-    doc->displayPages(textOut, firstPage, lastPage, 72, 72, 0, gFalse);
+    doc->displayPages(textOut, firstPage, lastPage, 72, 72, 0, gTrue, gFalse);
   } else {
     delete textOut;
     exitCode = 2;
   } else {
     delete textOut;
     exitCode = 2;