Fix some CBZ cover/fake cover issues
[fanfix.git] / src / be / nikiroo / fanfix / Main.java
index 9d462c402f619246a8ae4854ed1ffe8c185e6250..f18e03ca5dcefed8b616fae27e280d062da299ef 100644 (file)
@@ -542,8 +542,8 @@ public class Main {
                                                Story story = support.process(source, pgIn);
                                                try {
                                                        target = new File(target).getAbsolutePath();
-                                                       BasicOutput.getOutput(type, infoCover).process(
-                                                                       story, target, pgOut);
+                                                       BasicOutput.getOutput(type, infoCover, infoCover)
+                                                                       .process(story, target, pgOut);
                                                } catch (IOException e) {
                                                        Instance.getTraceHandler().error(
                                                                        new IOException(trans(StringId.ERR_SAVING,