summaryrefslogtreecommitdiffstats
path: root/labb5/src/Boggle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'labb5/src/Boggle.cpp')
-rwxr-xr-xlabb5/src/Boggle.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/labb5/src/Boggle.cpp b/labb5/src/Boggle.cpp
index 06880e8..2741cae 100755
--- a/labb5/src/Boggle.cpp
+++ b/labb5/src/Boggle.cpp
@@ -225,9 +225,6 @@ string Boggle::words_to_string(const set<string>& words, int words_per_line) con
if ((cur_word_idx+1) % words_per_line == 0) {
res += '\n';
}
- } else {
- // newline after final
- res += '\n';
}
cur_word_idx++;
}