about summary refs log tree commit diff stats
path: root/malaprop.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-01-05 22:03:57 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-01-05 22:03:57 -0500
commit661372d239e939947324605bce0864155da0a73e (patch)
tree46afcf5fbc75deefe8ad989cb90cc3b7a59f4748 /malaprop.cpp
parent17aa6dc1add94b9ce1f9337d90504bfdc3955970 (diff)
parent53102431c2dc7266a322223f84e286a9aa7c0729 (diff)
downloadrawr-ebooks-661372d239e939947324605bce0864155da0a73e.tar.gz
rawr-ebooks-661372d239e939947324605bce0864155da0a73e.tar.bz2
rawr-ebooks-661372d239e939947324605bce0864155da0a73e.zip
Merge branch 'master' of http://github.com/hatkirby/rawr-ebooks
Diffstat (limited to 'malaprop.cpp')
-rw-r--r--malaprop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/malaprop.cpp b/malaprop.cpp index ccdd4c4..ff0cb5d 100644 --- a/malaprop.cpp +++ b/malaprop.cpp
@@ -121,7 +121,7 @@ std::string malaprop::alternate(std::string word)
121 { 121 {
122 return word; 122 return word;
123 } 123 }
124 124
125 int opt = rand() % opts.size(); 125 int opt = rand() % opts.size();
126 for (std::set<std::string>::iterator it = opts.begin(); it != opts.end(); it++) 126 for (std::set<std::string>::iterator it = opts.begin(); it != opts.end(); it++)
127 { 127 {