about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--kgramstats.cpp2
m---------vendor/libtwittercpp0
2 files changed, 1 insertions, 1 deletions
diff --git a/kgramstats.cpp b/kgramstats.cpp index f171be9..17c3c2d 100644 --- a/kgramstats.cpp +++ b/kgramstats.cpp
@@ -746,7 +746,7 @@ std::string rawr::randomSentence(int maxL) const
746 } 746 }
747 747
748 // Remove the trailing space 748 // Remove the trailing space
749 if (result.back() == ' ') 749 if (result.back() == ' ' || result.back() == '\n')
750 { 750 {
751 result.pop_back(); 751 result.pop_back();
752 } 752 }
diff --git a/vendor/libtwittercpp b/vendor/libtwittercpp
Subproject 442f1ee071152be04c4184473ddfee5040795b7 Subproject 9fdcbee29350846db7f136b023da64bb2e6a93f