summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/loveletter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loveletter.cpp b/src/loveletter.cpp
index 44d215e..c9b6336 100644
--- a/src/loveletter.cpp
+++ b/src/loveletter.cpp
@@ -15,7 +15,7 @@ Print the letter's closing
using namespace std;
-string word(string[] type) {
+string word(string type[]) {
string word;
word = type[rand() % size(type)];;