From af3ead0441e496754b8e9c231407eb1b89f71923 Mon Sep 17 00:00:00 2001 From: Denis Molony Date: Sun, 11 Dec 2022 01:54:00 +1000 Subject: [PATCH] tidying --- src/com/bytezone/diskbrowser/applefile/BasicTextFile.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/bytezone/diskbrowser/applefile/BasicTextFile.java b/src/com/bytezone/diskbrowser/applefile/BasicTextFile.java index a7c7ab0..1e73d60 100755 --- a/src/com/bytezone/diskbrowser/applefile/BasicTextFile.java +++ b/src/com/bytezone/diskbrowser/applefile/BasicTextFile.java @@ -8,8 +8,8 @@ import com.bytezone.diskbrowser.utilities.HexFormatter; public class BasicTextFile extends TextFile // -----------------------------------------------------------------------------------// { - private static String underline = "------------------------------------------" - + "------------------------------------\n"; + private static String underline = + "------------------------------------------" + "------------------------------------\n"; private static String fullUnderline = "---------- ------- " + underline; private int recordLength; // prodos aux private List buffers; // only used if it is a Prodos text file @@ -42,6 +42,7 @@ public class BasicTextFile extends TextFile this.buffers = buffers; this.eof = eof; + recordLength = auxType; prodosFile = true; } @@ -167,8 +168,7 @@ public class BasicTextFile extends TextFile if (textPreferences.showTextOffsets) { line = line.replaceAll ("\\n", "\n "); - text.append ( - String.format ("%,10d %,8d %s%n", recNo * recordLength, recNo, line)); + text.append (String.format ("%,10d %,8d %s%n", recNo * recordLength, recNo, line)); } else text.append (String.format ("%s%n", line));