diff options
Diffstat (limited to 'source/app.d')
-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; } } |