From: Niki Roo Date: Tue, 8 Aug 2017 07:34:22 +0000 (+0200) Subject: Fix resume/not resume issue for Gopher cache X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=0774a51369b1d5f0423f15ea37ccd2dda1b29457;p=gofetch.git Fix resume/not resume issue for Gopher cache --- diff --git a/src/be/nikiroo/gofetch/output/Gopher.java b/src/be/nikiroo/gofetch/output/Gopher.java index dc5ac80..478522b 100644 --- a/src/be/nikiroo/gofetch/output/Gopher.java +++ b/src/be/nikiroo/gofetch/output/Gopher.java @@ -36,14 +36,14 @@ public class Gopher extends Output { @Override public String exportHeader(Story story) { - return append(new StringBuilder(), story, false).append("i\r\ni\r\n") + return append(new StringBuilder(), story, true).append("i\r\ni\r\n") .toString(); } @Override public String export(Story story) { StringBuilder builder = new StringBuilder(); - append(builder, story, true); + append(builder, story, false); builder.append("i\r\n");