diff options
author | Ta180m | 2020-05-29 21:48:43 -0500 |
---|---|---|
committer | Ta180m | 2020-05-29 21:48:43 -0500 |
commit | 17f59f8e1ebe081347610f2f19b27eae36b0fcd0 (patch) | |
tree | 660ea937535b3f0b326681134bab08e80ad4f213 | |
parent | 9e65495b7911373bc36916ae5c5c81d91d50b432 (diff) |
Works on Linux?
-rw-r--r-- | src/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index c670766..9e4ae0c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -353,6 +353,7 @@ int main() { output.calcweight(); output.preprocess(-1); string s = output.gettextstring(-100000); + for (auto& c : s) if (c == '\r') c = ' '; printf("%s\n", s.c_str()); |