diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-03-08 14:37:16 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-03-08 14:37:16 -0500 |
commit | 73821856c9648d030f4d148d2bc50f07f43ad369 (patch) | |
tree | 98f554e8cd55c859b71d5b2de5b9762baae6d563 /ebooks.cpp | |
parent | a791091a4da2335ee45f3716cfe68466e5ebd679 (diff) | |
download | rawr-ebooks-73821856c9648d030f4d148d2bc50f07f43ad369.tar.gz rawr-ebooks-73821856c9648d030f4d148d2bc50f07f43ad369.tar.bz2 rawr-ebooks-73821856c9648d030f4d148d2bc50f07f43ad369.zip |
Full sentences mode!
Diffstat (limited to 'ebooks.cpp')
-rw-r--r-- | ebooks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ebooks.cpp b/ebooks.cpp index 7d2724c..b586d63 100644 --- a/ebooks.cpp +++ b/ebooks.cpp | |||
@@ -43,7 +43,7 @@ int main(int argc, char** args) | |||
43 | std::cout << "Generating..." << std::endl; | 43 | std::cout << "Generating..." << std::endl; |
44 | for (;;) | 44 | for (;;) |
45 | { | 45 | { |
46 | std::string doc = stats->randomSentence(rand() % 45 + 5); | 46 | std::string doc = stats->randomSentence(140); |
47 | std::string hi = doc; | 47 | std::string hi = doc; |
48 | hi.resize(140); | 48 | hi.resize(140); |
49 | 49 | ||