diff options
Diffstat (limited to 'src/Reader.java')
-rw-r--r-- | src/Reader.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Reader.java b/src/Reader.java index 934bf5f..80e795d 100644 --- a/src/Reader.java +++ b/src/Reader.java @@ -26,8 +26,10 @@ class Reader { /* Scan over the contents of the input file. */ scan = new Scanner(file); /* Save to object. */ + contents = scan.nextLine() + "\n"; while (scan.hasNextLine()) { contents += scan.nextLine(); + contents += "\n"; } /* On exception, exit. */ } catch (Exception e) { |