summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2007-07-14 18:23:42 +0000
committerAlbert Astals Cid <aacid@kde.org>2007-07-14 18:23:42 +0000
commitf9d82dfd299ae23a1baf3e35e2c3cd351129c525 (patch)
tree8fb80c06cd7c8e2066ea435e80ceb404747f8a77 /utils
parent1c04136e9538ccfaa2d6b968861682ca3b69ffb3 (diff)
* utils/pdftops.cc: init width/height to -1 so it is calculated if not
specified
Diffstat (limited to 'utils')
-rw-r--r--utils/pdftops.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/pdftops.cc b/utils/pdftops.cc
index 6af59179..8f60ea3e 100644
--- a/utils/pdftops.cc
+++ b/utils/pdftops.cc
@@ -70,8 +70,8 @@ static GBool noEmbedCIDPSFonts = gFalse;
static GBool noEmbedCIDTTFonts = gFalse;
static GBool preload = gFalse;
static char paperSize[15] = "";
-static int paperWidth = 0;
-static int paperHeight = 0;
+static int paperWidth = -1;
+static int paperHeight = -1;
static GBool noCrop = gFalse;
static GBool expand = gFalse;
static GBool noShrink = gFalse;