diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-10-15 09:44:09 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-10-15 09:44:09 -0400 |
commit | 7df070f77b150977fbaac2c11ae8ef4544ba6f7f (patch) | |
tree | 68b603668e9eb20e17ef19ed34188b50bd3ddd26 | |
parent | 5d0ce4f5c303f15410fb8346e61504ef6e331fce (diff) | |
download | jdtalk_web-master.tar.gz |
-rw-r--r-- | source/app.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/app.d b/source/app.d index a6f7786..96b1811 100644 --- a/source/app.d +++ b/source/app.d @@ -67,8 +67,8 @@ void handleRequest(scope HTTPServerRequest req, scope HTTPServerResponse res) if (acronym !is null) { char result = 0; - if ((result = acronymSafe(dict, acronym)) > 0) { - res.bodyWriter.write(format("No words start with: '%c'", result)); + if ((result = acronymSafe(dict, acronym, pattern)) > 0) { + res.bodyWriter.write(format("No words will start with: '%c'", result)); return; } } |