removed writes

This commit is contained in:
Denis Molony 2016-07-29 22:54:56 +10:00
parent 724d00a168
commit c98aadb8fe

View File

@ -138,11 +138,9 @@ public class BasicProgram extends AbstractFile
// (see SEA BATTLE on DISK283.DSK) // (see SEA BATTLE on DISK283.DSK)
if (subline.is (TOKEN_REM) && lineText.length () > wrapRemAt + 4) if (subline.is (TOKEN_REM) && lineText.length () > wrapRemAt + 4)
{ {
// System.out.println (subline.getAlignedText (pos));
String copy = lineText.substring (4); String copy = lineText.substring (4);
text.append ("REM "); text.append ("REM ");
int inset = text.length (); int inset = text.length ();
// System.out.println (inset);
List<String> remarks = splitRemark (copy, wrapRemAt); List<String> remarks = splitRemark (copy, wrapRemAt);
for (String remark : remarks) for (String remark : remarks)
text.append (" ".substring (0, inset) + remark); text.append (" ".substring (0, inset) + remark);