aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-cli/src/main/java
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-01-21 10:10:54 +0100
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-01-21 10:10:54 +0100
commitd1433270259506aa28193b5134027da543d375c3 (patch)
tree313618402ebcd4e1e6d8bc6d9534018bd5b4b80e /pdf-as-cli/src/main/java
parent2436aa273f00dafb465c2342ea8e7297898915d2 (diff)
downloadpdf-as-4-d1433270259506aa28193b5134027da543d375c3.tar.gz
pdf-as-4-d1433270259506aa28193b5134027da543d375c3.tar.bz2
pdf-as-4-d1433270259506aa28193b5134027da543d375c3.zip
Fixed verify output parameter usage
Diffstat (limited to 'pdf-as-cli/src/main/java')
-rw-r--r--pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java b/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java
index 7d9749c2..62efe965 100644
--- a/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java
+++ b/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java
@@ -470,7 +470,7 @@ public class Main {
} else {
if (confOutputFile.endsWith(".pdf")) {
outputFile = confOutputFile.subSequence(0,
- inputFile.length() - ".pdf".length())
+ confOutputFile.length() - ".pdf".length())
+ "_" + idx + ".pdf";
} else {
outputFile = confOutputFile + "_" + idx + ".pdf";