diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-08-20 14:06:37 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-08-20 14:06:37 -0400 |
commit | 41a41649b29f8d5a4f797515aab6386bfe90275d (patch) | |
tree | c074f7c52e9ae160cc4a9ce8115f1ff2de1d22e2 | |
parent | aeee9782b8331c93e4665663e9e759188197074e (diff) | |
parent | 6419bd20050441fbcedce2cb3b5cffbdaba2a9b8 (diff) | |
download | rawr-ebooks-41a41649b29f8d5a4f797515aab6386bfe90275d.tar.gz rawr-ebooks-41a41649b29f8d5a4f797515aab6386bfe90275d.tar.bz2 rawr-ebooks-41a41649b29f8d5a4f797515aab6386bfe90275d.zip |
Merge branch 'master' of https://github.com/hatkirby/rawr-ebooks
-rw-r--r-- | kgramstats.cpp | 2 | ||||
m--------- | vendor/libtwittercpp | 0 |
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 | ||