aboutsummaryrefslogtreecommitdiff
path: root/src/wg2nd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wg2nd.cpp')
-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++;
}