aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wg2nd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wg2nd.cpp b/src/wg2nd.cpp
index afe3132..d26d4c6 100644
--- a/src/wg2nd.cpp
+++ b/src/wg2nd.cpp
@@ -128,7 +128,7 @@ namespace wg2nd {
{
size_t i = 0, j = 0;
for(; i < line.size(); i++) {
- if(line[i] != ' ' and line[i] != '\t') {
+ if(line[i] != ' ' and line[i] != '\t' and line[i] != '\r') {
line[j] = line[i];
j++;
}