summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/pdftotext.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/pdftotext.cc b/utils/pdftotext.cc
index c5923298..62ba3a32 100644
--- a/utils/pdftotext.cc
+++ b/utils/pdftotext.cc
@@ -341,7 +341,7 @@ int main(int argc, char *argv[]) {
}
// write text file
- if (bbox) {
+ if (htmlMeta && bbox) { // htmlMeta && is superfluous but makes gcc happier
textOut = new TextOutputDev(NULL, physLayout, fixedPitch, rawOrder, htmlMeta);
if (textOut->isOk()) {