diff options
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 | ||