summaryrefslogtreecommitdiff
path: root/src/loveletter.cpp
diff options
context:
space:
mode:
authorTroy <121986550+radiohotline@users.noreply.github.com>2023-06-02 22:29:24 +0300
committerGitHub <noreply@github.com>2023-06-02 22:29:24 +0300
commita3b0bdfdc4c1bac38c0e94a8b4e8d909de7c4b6a (patch)
tree4067a70d0c0407c66819e9ecc415483696c41ce8 /src/loveletter.cpp
parent4ab4390d50b198bca073f25bca472329e9cfd249 (diff)
Update loveletter.cpp
Fixed code.
Diffstat (limited to 'src/loveletter.cpp')
-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)];;